[geany/geany-plugins] 99080e: geniuspaste: stay compatible with GTK < 2.24

Jonathan Michalon git-noreply at xxxxx
Tue Jun 19 19:53:05 UTC 2012


Branch:      refs/heads/master
Author:      Jonathan Michalon <jonathan at michalon.eu>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Tue, 19 Jun 2012 19:53:05
Commit:      99080e44dc63130e06b34398a03156d777a68be0
             https://github.com/geany/geany-plugins/commit/99080e44dc63130e06b34398a03156d777a68be0

Log Message:
-----------
geniuspaste: stay compatible with GTK < 2.24


Modified Paths:
--------------
    geniuspaste/src/geniuspaste.c

Modified: geniuspaste/src/geniuspaste.c
7 files changed, 7 insertions(+), 0 deletions(-)
===================================================================
@@ -39,6 +39,13 @@
 #define USERNAME        getenv("USER")
 #endif
 
+/* stay compatible with GTK < 2.24 */
+#if !GTK_CHECK_VERSION(2,24,0)
+#define gtk_combo_box_text_new         gtk_combo_box_new_text
+#define gtk_combo_box_text_append_text gtk_combo_box_append_text
+#define GTK_COMBO_BOX_TEXT             GTK_COMBO_BOX
+#endif
+
 #define CODEPAD_ORG 		0
 #define PASTEBIN_COM 		1
 #define PASTEBIN_GEANY_ORG 	2


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list