summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util.c b/src/util.c
index 312c564..5ef7768 100644
--- a/src/util.c
+++ b/src/util.c
@@ -616,24 +616,16 @@ gboolean should_be_minimised(int argc, char *argv[])
GtkWidget *trg_hbox_new(gboolean homogeneous, gint spacing)
{
GtkWidget *box;
-#if GTK_CHECK_VERSION( 3, 0, 0 )
box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, spacing);
gtk_box_set_homogeneous(GTK_BOX(box), homogeneous);
-#else
- box = gtk_hbox_new(homogeneous, spacing);
-#endif
return box;
}
GtkWidget *trg_vbox_new(gboolean homogeneous, gint spacing)
{
GtkWidget *box;
-#if GTK_CHECK_VERSION( 3, 0, 0 )
box = gtk_box_new(GTK_ORIENTATION_VERTICAL, spacing);
gtk_box_set_homogeneous(GTK_BOX(box), homogeneous);
-#else
- box = gtk_vbox_new(homogeneous, spacing);
-#endif
return box;
}