2011-10-07 [colin] 3.7.10cvs21
[claws.git] / src / gtk / menu.c
index c38ee92fe5dd5f41fd11d49274250ed4fc58efc7..6ed5205664ff3b68ca6ef79548096d0dd2efb579 100644 (file)
@@ -25,7 +25,9 @@
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 
+#if !GTK_CHECK_VERSION(3, 0, 0)
 #include "gtkcmoptionmenu.h"
+#endif
 #include "menu.h"
 #include "utils.h"
 #include "gtkutils.h"
@@ -169,6 +171,7 @@ void menu_button_position(GtkMenu *menu, gint *x, gint *y, gboolean *push_in,
                *y -= mreq.height;
 }
 
+#if !GTK_CHECK_VERSION(3, 0, 0)
 gint menu_find_option_menu_index(GtkCMOptionMenu *optmenu, gpointer data,
                                 GCompareFunc func)
 {
@@ -198,3 +201,4 @@ gint menu_find_option_menu_index(GtkCMOptionMenu *optmenu, gpointer data,
 
        return -1;
 }
+#endif