diff pidgin/gtkdebug.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 a8cc50c2279f
children 3538e783b98c
line wrap: on
line diff
--- a/pidgin/gtkdebug.c	Sat Oct 08 23:29:06 2011 +0000
+++ b/pidgin/gtkdebug.c	Sun Oct 09 00:17:12 2011 +0000
@@ -186,7 +186,9 @@
 
 	gtk_container_set_border_width(GTK_CONTAINER(win->find), PIDGIN_HIG_BOX_SPACE);
 	gtk_window_set_resizable(GTK_WINDOW(win->find), FALSE);
+#if !GTK_CHECK_VERSION(2,22,0)
 	gtk_dialog_set_has_separator(GTK_DIALOG(win->find), FALSE);
+#endif
 	gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(win->find)->vbox), PIDGIN_HIG_BORDER);
 	gtk_container_set_border_width(
 		GTK_CONTAINER(GTK_DIALOG(win->find)->vbox), PIDGIN_HIG_BOX_SPACE);