Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 18827:d520087c3462
Patch from Gabriel Schulhof to compile with old versions of glib.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 07 Aug 2007 07:07:09 +0000 |
parents | b256b4808a6b |
children | bf918749b375 e12fb409262f 411b5a604a17 |
comparison
equal
deleted
inserted
replaced
18826:f8bea3e688b0 | 18827:d520087c3462 |
---|---|
2045 ((PurpleContact *)cnode)->alias, | 2045 ((PurpleContact *)cnode)->alias, |
2046 purple_buddy_get_contact_alias(entry.entry.buddy), | 2046 purple_buddy_get_contact_alias(entry.entry.buddy), |
2047 entry.entry.buddy->account, | 2047 entry.entry.buddy->account, |
2048 entry.entry.buddy->name | 2048 entry.entry.buddy->name |
2049 ); | 2049 ); |
2050 #else | |
2051 item->data = g_strdup(entry.entry.buddy->name); | |
2052 g_completion_add_items(data->completion, item); | |
2053 #endif /* NEW_STYLE_COMPLETION */ | |
2050 } | 2054 } |
2051 #else | |
2052 item->data = g_strdup(buddy->name); | |
2053 g_completion_add_items(data->completion, item); | |
2054 #endif /* NEW_STYLE_COMPLETION */ | |
2055 } | 2055 } |
2056 } | 2056 } |
2057 } | 2057 } |
2058 | 2058 |
2059 #ifndef NEW_STYLE_COMPLETION | 2059 #ifndef NEW_STYLE_COMPLETION |