set FARSIGHT_LIBS var

This commit is contained in:
Yann Leboulanger 2008-01-22 23:37:19 +00:00
parent 6bae5463fd
commit daf178144b
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,8 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package])
AM_GLIB_GNU_GETTEXT AM_GLIB_GNU_GETTEXT
AM_NLS AM_NLS
FARSIGHT_LIBS=`$PKG_CONFIG --libs farsight-0.1`
AC_SUBST(FARSIGHT_LIBS)
FARSIGHT_CFLAGS=`$PKG_CONFIG --cflags farsight-0.1` FARSIGHT_CFLAGS=`$PKG_CONFIG --cflags farsight-0.1`
AC_SUBST(FARSIGHT_CFLAGS) AC_SUBST(FARSIGHT_CFLAGS)

View File

@ -405,7 +405,7 @@ class Contacts:
max_order = 0 max_order = 0
order = 0 order = 0
if data.has_key('order'): if data.has_key('order'):
order = data['order'] order = int(data['order'])
if order: if order:
family = self.get_metacontacts_family(account, jid) family = self.get_metacontacts_family(account, jid)
for data_ in family: for data_ in family: