Mercurial > pidgin
changeset 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 | bf45ab338124 |
children | e04343008d1e |
files | finch/libgnt/gnttree.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Mon Jul 30 12:17:34 2007 +0000 +++ b/finch/libgnt/gnttree.c Mon Jul 30 12:20:15 2007 +0000 @@ -984,7 +984,11 @@ g_param_spec_int("columns", "Columns", "Number of columns in the tree.", 1, G_MAXINT, 1, +#if GLIB_CHECK_VERSION(2,8,0) G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB +#else + G_PARAM_READWRITE|G_PARAM_PRIVATE +#endif ) );