changeset 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 f8bea3e688b0
children f8b22b11a126
files pidgin/gtkutils.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Tue Aug 07 07:03:56 2007 +0000
+++ b/pidgin/gtkutils.c	Tue Aug 07 07:07:09 2007 +0000
@@ -2047,11 +2047,11 @@
 														entry.entry.buddy->account,
 														entry.entry.buddy->name
 													 );
+#else
+					item->data = g_strdup(entry.entry.buddy->name);
+					g_completion_add_items(data->completion, item);
+#endif /* NEW_STYLE_COMPLETION */
 				}
-#else
-				item->data = g_strdup(buddy->name);
-				g_completion_add_items(data->completion, item);
-#endif /* NEW_STYLE_COMPLETION */
 			}
 		}
 	}