diff pidgin/plugins/themeedit.c @ 32685:457443ca22e0

The function gtk_dialog_set_has_separator was removed in GTK+ 2.22.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 09 Oct 2011 00:17:12 +0000
parents 3c1563a54785
children
line wrap: on
line diff
--- a/pidgin/plugins/themeedit.c	Sat Oct 08 23:29:06 2011 +0000
+++ b/pidgin/plugins/themeedit.c	Sun Oct 09 00:17:12 2011 +0000
@@ -306,7 +306,9 @@
 		}
 	}
 
+#if !GTK_CHECK_VERSION(2,22,0)
 	gtk_dialog_set_has_separator(GTK_DIALOG(dialog), TRUE);
+#endif
 #ifdef NOT_SADRUL
 	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_blist_theme), dialog);
 #endif