diff options
author | Alan F <ajf@eth0.org.uk> | 2014-01-07 09:10:20 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-01-07 09:12:35 +0000 |
commit | a5fa39775707a998df915abeaae15d0d99f64785 (patch) | |
tree | ec23a7f2ece7559b18626a6ef8b3e55fd03d23d9 /src/util.c | |
parent | 0b0eb52a5b2c82a4bbcc0d04d523883623124c4f (diff) |
remove all support for gtk2
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; } |