Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h

Issue 1234223005: Initial gtk3 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Silence gtk memory leak Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h
diff --git a/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h b/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h
index 13fb11536edfe1c344809fbde82690042430066e..b5128590d629eb5a3695003d2b95f99702f29dff 100644
--- a/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h
+++ b/chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h
@@ -17,7 +17,6 @@
#include "ui/gfx/geometry/rect.h"
typedef union _GdkEvent GdkEvent;
-typedef struct _GdkDrawable GdkWindow;
typedef struct _GtkIMContext GtkIMContext;
namespace libgtk2ui {
@@ -74,7 +73,7 @@ class X11InputMethodContextImplGtk2 : public ui::LinuxInputMethodContext {
// IME's input GTK context.
GtkIMContext* gtk_context_;
- GdkWindow* gdk_last_set_client_window_;
+ gpointer gdk_last_set_client_window_;
// Last known caret bounds relative to the screen coordinates.
gfx::Rect last_caret_bounds_;
« no previous file with comments | « chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698