Fix various warnings about unused things

https://bugzilla.gnome.org/show_bug.cgi?id=734735
This commit is contained in:
Руслан Ижбулатов
2014-08-13 15:51:43 +00:00
parent 966b191e13
commit 694c8d32d5
15 changed files with 16 additions and 38 deletions

View File

@@ -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