Revision: 1647 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1647&view=re... Author: colombanw Date: 2010-10-09 16:21:00 +0000 (Sat, 09 Oct 2010)
Log Message: ----------- GeanyGenDoc: Fix build with GTK+ 2.16
Modified Paths: -------------- trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c
Modified: trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c 2010-10-09 16:20:39 UTC (rev 1646) +++ trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c 2010-10-09 16:21:00 UTC (rev 1647) @@ -25,6 +25,11 @@ #include "ggd-plugin.h"
+#if ! GTK_CHECK_VERSION (2, 20, 0) && ! defined(gtk_widget_get_realized) +# define gtk_widget_get_realized(w) (GTK_WIDGET_REALIZED (w)) +#endif + + static void ggd_doctype_selector_finalize (GObject *object); static void ggd_doctype_selector_constructed (GObject *object); static void doctype_column_edited_handler (GtkCellRendererText *renderer,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.