summaryrefslogtreecommitdiff
path: root/src/trg-preferences-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-preferences-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-preferences-dialog.c')
-rw-r--r--src/trg-preferences-dialog.c4
1 files changed, 2 insertions, 2 deletions
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);