[geany/geany-plugins] e81b4e: GeanyGenDoc: Add support for GTK3

Colomban Wendling git-noreply at xxxxx
Mon Mar 18 08:32:06 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 30 Jan 2013 21:24:54 UTC
Commit:      e81b4e030bd9c8759390013a6a52631398535c0b
             https://github.com/geany/geany-plugins/commit/e81b4e030bd9c8759390013a6a52631398535c0b

Log Message:
-----------
GeanyGenDoc: Add support for GTK3


Modified Paths:
--------------
    build/geanygendoc.m4
    geanygendoc/src/ggd-options.h

Modified: build/geanygendoc.m4
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -8,7 +8,7 @@ AC_DEFUN([GP_CHECK_GEANYGENDOC],
     CTPL_VERSION=0.3
 
     GP_CHECK_PLUGIN_DEPS([GeanyGenDoc], GEANYGENDOC,
-                         [gtk+-2.0 >= ${GTK_VERSION}
+                         [$GP_GTK_PACKAGE >= ${GTK_VERSION}
                           glib-2.0 >= ${GLIB_VERSION}
                           gio-2.0 >= ${GIO_VERSION}
                           ctpl >= ${CTPL_VERSION}])


Modified: geanygendoc/src/ggd-options.h
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -29,6 +29,11 @@
 G_BEGIN_DECLS
 GGD_BEGIN_PLUGIN_API
 
+#if GTK_CHECK_VERSION(3, 0, 0)
+# define GtkObject GtkWidget
+# define GTK_OBJECT GTK_WIDGET
+#endif
+
 
 /**
  * GgdOptGroup:



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list