[gucharmap] Fix the gtk 3 build



commit 19f1d050ce6ef3fc555da8ef27f9f139ce6b2d68
Author: Christian Persch <chpe gnome org>
Date:   Sun Jul 18 21:31:05 2010 +0200

    Fix the gtk 3 build

 gucharmap/gucharmap-charmap.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gucharmap/gucharmap-charmap.c b/gucharmap/gucharmap-charmap.c
index 033a313..14edcaa 100644
--- a/gucharmap/gucharmap-charmap.c
+++ b/gucharmap/gucharmap-charmap.c
@@ -1073,7 +1073,11 @@ details_visibility_notify_event (GtkWidget *text_view,
 
 static void
 notebook_switch_page (GtkNotebook *notebook,
-                      GtkNotebookPage *page /* useless */,
+#if GTK_CHECK_VERSION (2, 90, 6)
+                      GtkWidget *page,
+#else
+                      gpointer page /* useless */,
+#endif
                       guint page_num,
                       GucharmapCharmap *charmap)
 {



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