comparison finch/libgnt/gnt.h @ 19371:4fd3547dd4ab

Allow building with glib < 2.8.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 23 Aug 2007 06:14:21 +0000
parents 9f7587b86b0d
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19370:9c03677be7c5 19371:4fd3547dd4ab
33 #include <glib.h> 33 #include <glib.h>
34 #include "gntwidget.h" 34 #include "gntwidget.h"
35 #include "gntclipboard.h" 35 #include "gntclipboard.h"
36 #include "gntcolors.h" 36 #include "gntcolors.h"
37 #include "gntkeys.h" 37 #include "gntkeys.h"
38
39 /**
40 * Get things to compile in Glib < 2.8
41 */
42 #if !GLIB_CHECK_VERSION(2,8,0)
43 #define G_PARAM_STATIC_NAME G_PARAM_PRIVATE
44 #define G_PARAM_STATIC_NICK G_PARAM_PRIVATE
45 #define G_PARAM_STATIC_BLURB G_PARAM_PRIVATE
46 #endif
38 47
39 /** 48 /**
40 * 49 *
41 */ 50 */
42 void gnt_init(void); 51 void gnt_init(void);