Remove GTK2 code
GTK2 code was historically kept around to keep the electron build working. But as of Nov 26, 2017, electron now uses GTK3 [1], so it should now be safe to remove all of the old GTK2-only code. [1] https://github.com/electron/electron/issues/2927#issuecomment-347092515 BUG=876558 R=sky Change-Id: I78402053ae508ccd8fc7ac73697a861bb1ebacf6 Reviewed-on: https://chromium-review.googlesource.com/1183858 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#585265}
This commit is contained in:
build
chrome
browser
icon_loader_auralinux.cc
ui
libgtkui
BUILD.gnapp_indicator_icon.ccgtk_background_painter.ccgtk_background_painter.hgtk_event_loop.ccgtk_event_loop.hgtk_key_bindings_handler.ccgtk_key_bindings_handler.hgtk_status_icon.ccgtk_status_icon.hgtk_ui.ccgtk_ui.hgtk_util.ccgtk_util.hlibgtkui_export.hnative_theme_gtk.ccnative_theme_gtk.hnative_theme_gtk2.ccnative_theme_gtk2.hnav_button_provider_gtk.ccnav_button_provider_gtk.hprint_dialog_gtk.ccprint_dialog_gtk.hsettings_provider.hsettings_provider_gsettings.ccsettings_provider_gtk.ccsettings_provider_gtk.hx11_input_method_context_impl_gtk.ccx11_input_method_context_impl_gtk.h
views
common
docs
remoting/host
third_party/instrumented_libraries
tools/android/loading/cloud/backend
ui
accessibility
views
@ -8,7 +8,7 @@ for notes on how to make GTK warnings fatal.
|
||||
|
||||
## Using GTK Debug packages
|
||||
|
||||
sudo apt-get install libgtk2.0-0-dbg
|
||||
sudo apt-get install libgtk-3-0-dbg
|
||||
|
||||
Make sure that you're building a binary that matches your architecture (e.g.
|
||||
64-bit on a 64-bit machine), and there you go.
|
||||
@ -21,7 +21,7 @@ doing:
|
||||
|
||||
```shell
|
||||
$ cd /my/dir
|
||||
$ apt-get source libgtk2.0-0
|
||||
$ apt-get source libgtk-3-0
|
||||
$ gdb ...
|
||||
(gdb) set substitute-path /build/buildd /my/dir
|
||||
```
|
||||
@ -46,14 +46,6 @@ And then run Chrome with
|
||||
|
||||
GTK_MODULES=gtkparasite ./out/Debug/chrome
|
||||
|
||||
### ghardy
|
||||
|
||||
If you're within the Google network on ghardy, which is too old to include
|
||||
gtkparasite, you can do:
|
||||
|
||||
scp bunny.sfo:/usr/lib/gtk-2.0/modules/libgtkparasite.so /tmp
|
||||
sudo cp /tmp/libgtkparasite.so /usr/lib/gtk-2.0/modules/libgtkparasite.so
|
||||
|
||||
## GDK_DEBUG
|
||||
|
||||
Use `GDK_DEBUG=nograbs` to run GTK+ without grabs. This is useful for gdb
|
||||
|
Reference in New Issue
Block a user