diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-13 15:51:43 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-13 23:38:47 +0000 |
commit | 694c8d32d5fab4ef8d0139a910cee95200c34d8a (patch) | |
tree | 16f3bb49608d10e326ceae945a5cf165aad42a2e /modules | |
parent | 966b191e132fb8cfef039fb02a971e4e92c01dc1 (diff) | |
download | gtk+-694c8d32d5fab4ef8d0139a910cee95200c34d8a.tar.gz |
Fix various warnings about unused things
https://bugzilla.gnome.org/show_bug.cgi?id=734735
Diffstat (limited to 'modules')
-rw-r--r-- | modules/input/gtkimcontextime.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/input/gtkimcontextime.c b/modules/input/gtkimcontextime.c index aac572e989..5d2c15a329 100644 --- a/modules/input/gtkimcontextime.c +++ b/modules/input/gtkimcontextime.c @@ -657,7 +657,7 @@ gtk_im_context_ime_focus_in (GtkIMContext *context) GtkIMContextIME *context_ime = GTK_IM_CONTEXT_IME (context); GdkWindow *toplevel; GtkWidget *widget = NULL; - HWND hwnd, top_hwnd; + HWND hwnd; HIMC himc; if (!GDK_IS_WINDOW (context_ime->client_window)) @@ -676,8 +676,6 @@ gtk_im_context_ime_focus_in (GtkIMContext *context) { gdk_window_add_filter (toplevel, gtk_im_context_ime_message_filter, context_ime); - top_hwnd = gdk_win32_window_get_impl_hwnd (toplevel); - context_ime->toplevel = toplevel; } else @@ -730,7 +728,7 @@ gtk_im_context_ime_focus_out (GtkIMContext *context) GtkIMContextIME *context_ime = GTK_IM_CONTEXT_IME (context); GdkWindow *toplevel; GtkWidget *widget = NULL; - HWND hwnd, top_hwnd; + HWND hwnd; HIMC himc; if (!GDK_IS_WINDOW (context_ime->client_window)) @@ -801,8 +799,6 @@ gtk_im_context_ime_focus_out (GtkIMContext *context) gdk_window_remove_filter (toplevel, gtk_im_context_ime_message_filter, context_ime); - top_hwnd = gdk_win32_window_get_impl_hwnd (toplevel); - context_ime->toplevel = NULL; } else |