summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-01-07 09:10:20 +0000
committerGravatar Alan F <ajf@eth0.org.uk>2014-01-07 09:12:35 +0000
commita5fa39775707a998df915abeaae15d0d99f64785 (patch)
treeec23a7f2ece7559b18626a6ef8b3e55fd03d23d9 /src/util.c
parent0b0eb52a5b2c82a4bbcc0d04d523883623124c4f (diff)
remove all support for gtk2
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;
}