Older versions of GTK (< 2.14.0) don't have gtk_dialog_get_content_area(). Work
around this by providing a compatibility #define for these older GTK versions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9582
b70326c6-7e19-0410-871a-
916f4a2858ee
static void update_conn_ui_from_conn_config(void);
+/* If GTK+ version is < 2.14.0, define gtk_dialog_get_content_area() */
+#if !GTK_CHECK_VERSION(2, 14, 0)
+ #if !defined(gtk_dialog_get_content_area)
+ #define gtk_dialog_get_content_area(dialog) GTK_DIALOG(dialog)->vbox
+ #endif
+#endif
+
/*
** Global variables for GUI only
*/