[Commits] gtkutils.h 1.4.2.59 1.4.2.60
colin at claws-mail.org
colin at claws-mail.org
Fri Oct 7 18:06:56 CEST 2011
Update of /home/claws-mail/claws/src/gtk
In directory claws-mail:/tmp/cvs-serv14117/src/gtk
Modified Files:
Tag: gtk2
gtkutils.h
Log Message:
2011-10-07 [colin] 3.7.10cvs26
* src/prefs_filtering_action.c
* src/gtk/gtkutils.h
Fix build with GTK+2.20
Index: gtkutils.h
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/gtkutils.h,v
retrieving revision 1.4.2.59
retrieving revision 1.4.2.60
diff -u -d -r1.4.2.59 -r1.4.2.60
--- gtkutils.h 7 Oct 2011 15:25:42 -0000 1.4.2.59
+++ gtkutils.h 7 Oct 2011 16:06:53 -0000 1.4.2.60
@@ -243,6 +243,12 @@
gtk_tooltips_set_tip(GTK_TOOLTIPS(tips), widget, \
tip, NULL); \
}
-
+#endif
+#if !GTK_CHECK_VERSION(2,22,0)
+#define gdk_drag_context_get_selected_action(x) ((x)->action)
+#define gdk_drag_context_get_actions(x) ((x)->actions)
+#define gtk_text_view_get_vadjustment(x) ((x)->vadjustment)
+#define gdk_drag_context_get_suggested_action(x) ((x)->suggested_action)
+#define gtk_button_get_event_window(x) ((x)->event_window)
#endif
#endif /* __GTKUTILS_H__ */
More information about the Commits
mailing list