[ekiga] Fixed warning about GDK_EVENT_LAST for gtk+ at least 2.18.0



commit d48a7dcb82ab78bc888f32cbe1c38a03ed1fd8b0
Author: Julien Puydt <jpuydt gnome org>
Date:   Thu Sep 24 20:35:10 2009 +0200

    Fixed warning about GDK_EVENT_LAST for gtk+ at least 2.18.0

 lib/engine/gui/gtk-frontend/chat-area.cpp |    3 +++
 lib/gui/gm-smiley-chooser-button.c        |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/chat-area.cpp b/lib/engine/gui/gtk-frontend/chat-area.cpp
index 2bacaac..3b327ba 100644
--- a/lib/engine/gui/gtk-frontend/chat-area.cpp
+++ b/lib/engine/gui/gtk-frontend/chat-area.cpp
@@ -434,6 +434,9 @@ on_extlink_tag_event (GtkTextTag* tag,
 #if GTK_CHECK_VERSION(2,14,0)
   case GDK_DAMAGE:
 #endif
+#if GTK_CHECK_VERSION (2,18,0)
+    case GDK_EVENT_LAST:
+#endif
   default:
     result = FALSE; // nothing
     break; // nothing
diff --git a/lib/gui/gm-smiley-chooser-button.c b/lib/gui/gm-smiley-chooser-button.c
index 75ffe95..ab6cfd6 100644
--- a/lib/gui/gm-smiley-chooser-button.c
+++ b/lib/gui/gm-smiley-chooser-button.c
@@ -474,6 +474,9 @@ static gboolean on_popup_button_press_event (G_GNUC_UNUSED GtkWidget* widget,
     case GDK_SETTING:
     case GDK_OWNER_CHANGE:
     case GDK_GRAB_BROKEN:
+#if GTK_CHECK_VERSION (2,18,0)
+    case GDK_EVENT_LAST:
+#endif
     default:
       return FALSE;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]