changeset 17435:61789dec7c47

"truncate-multiline" property for GtkEntry was added in Gtk 2.10
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 02 Jun 2007 14:25:19 +0000
parents 6418bcb7809a
children ff04387682ce
files pidgin/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Sat Jun 02 14:06:33 2007 +0000
+++ b/pidgin/gtkaccount.c	Sat Jun 02 14:25:19 2007 +0000
@@ -433,7 +433,9 @@
 
 	/* Screen name */
 	dialog->screenname_entry = gtk_entry_new();
+#if GTK_CHECK_VERSION(2,10,0)
 	g_object_set(G_OBJECT(dialog->screenname_entry), "truncate-multiline", TRUE, NULL);
+#endif
 
 	add_pref_box(dialog, vbox, _("Screen name:"), dialog->screenname_entry);