[Commits] gtkutils.h 1.4.2.61 1.4.2.62

colin at claws-mail.org colin at claws-mail.org
Sat Oct 22 17:48:08 CEST 2011


Update of /home/claws-mail/claws/src/gtk
In directory claws-mail:/tmp/cvs-serv31396/src/gtk

Modified Files:
      Tag: gtk2
	gtkutils.h 
Log Message:
2011-10-22 [colin]	3.7.10cvs40

	* src/gtk/gtkutils.h
	* configure.ac
		Fix (hopefully) build with GTK+ 2.18.

Index: gtkutils.h
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/gtkutils.h,v
retrieving revision 1.4.2.61
retrieving revision 1.4.2.62
diff -u -d -r1.4.2.61 -r1.4.2.62
--- gtkutils.h	17 Oct 2011 08:59:47 -0000	1.4.2.61
+++ gtkutils.h	22 Oct 2011 15:48:06 -0000	1.4.2.62
@@ -254,4 +254,11 @@
 #define gdk_drag_context_get_suggested_action(x) ((x)->suggested_action)
 #define gtk_button_get_event_window(x) ((x)->event_window)
 #endif
+#if !GTK_CHECK_VERSION(2,20,0)
+#define gtk_widget_get_requisition(x,r) (*(r) = (x)->requisition)
+#endif
+#if !GTK_CHECK_VERSION(2,18,0)
+#define gtk_widget_get_allocation(x,a) (*(a) = (x)->allocation)
+#define gtk_widget_get_state(x) ((x)->state)
+#endif
 #endif /* __GTKUTILS_H__ */



More information about the Commits mailing list