diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c index e8358d43..0957da7a 100644 --- a/src/fe-gtk/chanlist.c +++ b/src/fe-gtk/chanlist.c @@ -1157,7 +1157,11 @@ chanlist_opengui (server *serv, int do_refresh) /* ============================================================= */ +#if HAVE_GTK3 + wid = gtk_separator_new (GTK_ORIENTATION_VERTICAL); +#else wid = gtk_vseparator_new (); +#endif #if HAVE_GTK3 chanlist_grid_attach (table, wid, 2, 0, 1, 5, FALSE, FALSE, GTK_ALIGN_FILL, GTK_ALIGN_FILL); diff --git a/src/fe-gtk/chanview-tabs.c b/src/fe-gtk/chanview-tabs.c index 22caeca8..5407e170 100644 --- a/src/fe-gtk/chanview-tabs.c +++ b/src/fe-gtk/chanview-tabs.c @@ -539,7 +539,11 @@ tab_add_real (chanview *cv, GtkWidget *tab, chan *ch) #elif !HAVE_GTK3 box = gtk_hbox_new (FALSE, 0); #endif +#if HAVE_GTK3 + sep = gtk_separator_new (GTK_ORIENTATION_VERTICAL); +#elif !HAVE_GTK3 sep = gtk_vseparator_new (); +#endif } gtk_box_pack_end (GTK_BOX (box), sep, 0, 0, 4);