Mercurial > pidgin
diff pidgin/gtklog.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 | def5b2a97fee |
children | f124ad0022ce |
line wrap: on
line diff
--- a/pidgin/gtklog.c Sat Oct 08 23:29:06 2011 +0000 +++ b/pidgin/gtklog.c Sun Oct 09 00:17:12 2011 +0000 @@ -575,7 +575,9 @@ gtk_dialog_add_button(GTK_DIALOG(lv->window), _("_Browse logs folder"), GTK_RESPONSE_HELP); #endif gtk_container_set_border_width (GTK_CONTAINER(lv->window), PIDGIN_HIG_BOX_SPACE); +#if !GTK_CHECK_VERSION(2,22,0) gtk_dialog_set_has_separator(GTK_DIALOG(lv->window), FALSE); +#endif gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(lv->window)->vbox), 0); g_signal_connect(G_OBJECT(lv->window), "response", G_CALLBACK(destroy_cb), ht);