[Kazehakase-cvs] CVS update: kazehakase/src/utils

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Sun Dec 31 09:39:02 JST 2006


Index: kazehakase/src/utils/glib-utils.h
diff -u kazehakase/src/utils/glib-utils.h:1.6 kazehakase/src/utils/glib-utils.h:1.7
--- kazehakase/src/utils/glib-utils.h:1.6	Thu Sep 30 09:06:08 2004
+++ kazehakase/src/utils/glib-utils.h	Sun Dec 31 09:39:02 2006
@@ -22,11 +22,15 @@
 #define __GLIB_UTILS_H__
 
 #include <glib.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
 #define g_strlen(s) ((s)!=NULL?strlen(s):0)
 #define g_strcmp(s1,s2) ((s1)!=NULL && (s2)!=NULL?strcmp(s1,s2):0)
 
+#if !GTK_CHECK_VERSION(2, 10, 0)
+#define g_object_ref_sink(o) gtk_object_sink(o)
+#endif
 G_END_DECLS
 #endif /* __GLIB_UTILS_H__ */


More information about the Kazehakase-cvs mailing list
Back to archive index