summaryrefslogtreecommitdiff
path: root/src/hig.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <alan@eth0.org.uk>2012-06-05 22:07:58 +0100
committerGravatar Alan Fitton <alan@eth0.org.uk>2012-06-05 22:07:58 +0100
commita46c8201c42ac4ae85b50a5a1930759f8537d3c7 (patch)
tree3da13c2368b85b7fd7f2896541795445f8abd8fa /src/hig.c
parent855532ed7ffd3415150c73574eb8e9038f1075eb (diff)
fix deprecation warnings for gtk_{h,v}box_new and gtk_{h,v}paned_new in gtk3
Diffstat (limited to 'src/hig.c')
-rw-r--r--src/hig.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/hig.c b/src/hig.c
index 3308457..af58bf3 100644
--- a/src/hig.c
+++ b/src/hig.c
@@ -12,6 +12,7 @@
#include <gtk/gtk.h>
#include "hig.h"
+#include "util.h"
GtkWidget *hig_workarea_create(void)
{
@@ -57,7 +58,7 @@ hig_workarea_add_section_title(GtkWidget * t,
static GtkWidget *rowNew(GtkWidget * w)
{
GtkWidget *a;
- GtkWidget *h = gtk_hbox_new(FALSE, 0);
+ GtkWidget *h = trg_hbox_new(FALSE, 0);
/* spacer */
a = gtk_alignment_new(0.0f, 0.0f, 0.0f, 0.0f);
@@ -178,8 +179,8 @@ GtkWidget *hig_workarea_add_tall_row(GtkWidget * table,
GtkWidget * mnemonic)
{
GtkWidget *l = gtk_label_new_with_mnemonic(mnemonic_string);
- GtkWidget *h = gtk_hbox_new(FALSE, 0);
- GtkWidget *v = gtk_vbox_new(FALSE, 0);
+ GtkWidget *h = trg_hbox_new(FALSE, 0);
+ GtkWidget *v = trg_vbox_new(FALSE, 0);
gtk_box_pack_start(GTK_BOX(h), l, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(v), h, FALSE, FALSE, GUI_PAD_SMALL);