one-liner bug in gtkicontheme.h



there's a typo in gtkicontheme.h that causes GTK_TYPE_ICON_THEME to evaluate to a function pointer rather than a GType like it should. just updated from anoncvs to make sure i wasn't on crack, and it's still there. here's the trivial fix.


--- cvs/gnome2/gtk+/gtk/gtkicontheme.h 2003-11-12 14:58:43.000000000 -0500
+++ gtkicontheme.h-fixed        2003-12-23 21:55:34.000000000 -0500
@@ -26,7 +26,7 @@

 G_BEGIN_DECLS

-#define GTK_TYPE_ICON_INFO              (gtk_icon_info_get_type)
+#define GTK_TYPE_ICON_INFO              (gtk_icon_info_get_type ())

 #define GTK_TYPE_ICON_THEME             (gtk_icon_theme_get_type ())
#define GTK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_THEME, GtkIconTheme))



--
"it's hard to be eventful when you have this much style."
   - me, rationalizing yet another night of sitting at home.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]