From a46c8201c42ac4ae85b50a5a1930759f8537d3c7 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Tue, 5 Jun 2012 22:07:58 +0100 Subject: fix deprecation warnings for gtk_{h,v}box_new and gtk_{h,v}paned_new in gtk3 --- src/trg-remote-prefs-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-remote-prefs-dialog.c') 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); -- cgit v1.2.3