summaryrefslogtreecommitdiff
path: root/src/trg-remote-prefs-dialog.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/trg-remote-prefs-dialog.c
parent855532ed7ffd3415150c73574eb8e9038f1075eb (diff)
fix deprecation warnings for gtk_{h,v}box_new and gtk_{h,v}paned_new in gtk3
Diffstat (limited to 'src/trg-remote-prefs-dialog.c')
-rw-r--r--src/trg-remote-prefs-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c
index 6aaf4e0..acf689b 100644
--- a/src/trg-remote-prefs-dialog.c
+++ b/src/trg-remote-prefs-dialog.c
@@ -219,7 +219,7 @@ static GtkWidget *trg_rprefs_time_widget_new(GList ** wl, JsonObject * obj,
const gchar * key,
GtkWidget * alt_time_check)
{
- GtkWidget *hbox = gtk_hbox_new(FALSE, 0);
+ GtkWidget *hbox = trg_hbox_new(FALSE, 0);
GtkWidget *colonLabel = gtk_label_new(":");
GtkWidget *hourSpin =
trg_rprefs_timer_widget_spin_new(23, alt_time_check);
@@ -253,7 +253,7 @@ static GtkWidget *trg_rprefs_time_begin_end_new(GList ** wl,
JsonObject * obj,
GtkWidget * alt_time_check)
{
- GtkWidget *hbox = gtk_hbox_new(FALSE, 0);
+ GtkWidget *hbox = trg_hbox_new(FALSE, 0);
GtkWidget *begin = trg_rprefs_time_widget_new(wl, obj,
SGET_ALT_SPEED_TIME_BEGIN,
alt_time_check);