[gtk+] im context: Fix compiler warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] im context: Fix compiler warnings
- Date: Tue, 2 Jun 2015 13:11:05 +0000 (UTC)
commit 6ee9281a2410b6c1309cb3ba30f5bb889a476e9e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 30 21:27:05 2015 -0400
im context: Fix compiler warnings
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
gtk/gtkimcontextsimple.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 4b7de11..8ddbdc4 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -961,11 +961,8 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context,
(priv->in_hex_sequence && !hex_keyval &&
!is_hex_start && !is_hex_end && !is_escape && !is_backspace))
{
- GdkDisplay *display;
GdkModifierType no_text_input_mask;
- display = gdk_window_get_display (event->window);
-
no_text_input_mask =
gdk_keymap_get_modifier_mask (gdk_keymap_get_for_display (display),
GDK_MODIFIER_INTENT_NO_TEXT_INPUT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]