comparison finch/libgnt/gnttree.c @ 18745:221461ade6c9

These are new in Glib 2.8: G_PARAM_STATIC_NAME, G_PARAM_STATIC_NICK & G_PARAM_STATIC_BLURB I'm not sure if this fix is 100% correct for glib < 2.8 but it compiles!
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 30 Jul 2007 12:20:15 +0000
parents 3c634117a7ef
children b68ced0ab472
comparison
equal deleted inserted replaced
18744:bf45ab338124 18745:221461ade6c9
982 g_object_class_install_property(gclass, 982 g_object_class_install_property(gclass,
983 PROP_COLUMNS, 983 PROP_COLUMNS,
984 g_param_spec_int("columns", "Columns", 984 g_param_spec_int("columns", "Columns",
985 "Number of columns in the tree.", 985 "Number of columns in the tree.",
986 1, G_MAXINT, 1, 986 1, G_MAXINT, 1,
987 #if GLIB_CHECK_VERSION(2,8,0)
987 G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB 988 G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
989 #else
990 G_PARAM_READWRITE|G_PARAM_PRIVATE
991 #endif
988 ) 992 )
989 ); 993 );
990 994
991 signals[SIG_SELECTION_CHANGED] = 995 signals[SIG_SELECTION_CHANGED] =
992 g_signal_new("selection-changed", 996 g_signal_new("selection-changed",