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-preferences-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-preferences-dialog.c') diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c index ca57da2..57391f1 100644 --- a/src/trg-preferences-dialog.c +++ b/src/trg-preferences-dialog.c @@ -763,7 +763,7 @@ static GtkWidget *trg_prefs_serverPage(TrgPreferencesDialog * dlg) priv->profileComboBox = trg_prefs_profile_combo_new(priv->client); profileLabel = gtk_label_new(_("Profile: ")); - profileButtonsHbox = gtk_hbox_new(FALSE, 0); + profileButtonsHbox = trg_hbox_new(FALSE, 0); w = gtk_button_new_from_stock(GTK_STOCK_NEW); g_signal_connect(w, "clicked", G_CALLBACK(add_profile_cb), priv->profileComboBox); @@ -831,7 +831,7 @@ static GtkWidget *trg_prefs_serverPage(TrgPreferencesDialog * dlg) hig_workarea_add_row(t, &row, _("Retries:"), w, NULL); frame = gtk_frame_new(NULL); - frameHbox = gtk_hbox_new(FALSE, 2); + frameHbox = trg_hbox_new(FALSE, 2); gtk_box_pack_start(GTK_BOX(frameHbox), profileLabel, FALSE, FALSE, 2); gtk_box_pack_start(GTK_BOX(frameHbox), priv->profileComboBox, FALSE, FALSE, 4); -- cgit v1.2.3