summaryrefslogtreecommitdiffstats
path: root/ui/base/x
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 01:09:48 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 01:09:48 +0000
commit9702f9511652af29060155d6809a2434eb4abb73 (patch)
tree9ea195fc7acde6e04e13fdedb746a391eeb12b5c /ui/base/x
parent8fd219ac9e5bcce8aa55abbae4f024d6a9a4f505 (diff)
downloadchromium_src-9702f9511652af29060155d6809a2434eb4abb73.zip
chromium_src-9702f9511652af29060155d6809a2434eb4abb73.tar.gz
chromium_src-9702f9511652af29060155d6809a2434eb4abb73.tar.bz2
Revert 116956 - GTK: Seal up GSEALs, focusing on GtkSelectionData.
BUG=79722 TEST=compiles Review URL: http://codereview.chromium.org/9151007 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/9167002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/x')
-rw-r--r--ui/base/x/x11_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
index 6b11de4..f6292b3 100644
--- a/ui/base/x/x11_util.cc
+++ b/ui/base/x/x11_util.cc
@@ -325,7 +325,7 @@ bool GetCurrentDesktop(int* desktop) {
#if defined(TOOLKIT_USES_GTK)
XID GetX11WindowFromGtkWidget(GtkWidget* widget) {
- return GDK_WINDOW_XID(gtk_widget_get_window(widget));
+ return GDK_WINDOW_XID(widget->window);
}
XID GetX11WindowFromGdkWindow(GdkWindow* window) {