summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-07 20:30:36 +0200
committerraveit65 <[email protected]>2016-07-20 11:27:26 +0200
commit4b852ce952d1f6902acbcf315d6ef08d1ba36e0d (patch)
tree3a9d55c360b69a020d7bc5e899c3afb1119d967b /src
parent603b3a316e901064f6e9af2b141c00e6ffd5009e (diff)
downloadmate-terminal-4b852ce952d1f6902acbcf315d6ef08d1ba36e0d.tar.bz2
mate-terminal-4b852ce952d1f6902acbcf315d6ef08d1ba36e0d.tar.xz
avoid deprecated GtkTable
Diffstat (limited to 'src')
-rw-r--r--src/terminal-app.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c
index f1c02c1..9839c88 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -1208,12 +1208,12 @@ terminal_app_new_profile (TerminalApp *app,
{
if (app->new_profile_dialog == NULL)
{
- GtkWidget *create_button, *table, *name_label, *name_entry, *base_label, *combo;
+ GtkWidget *create_button, *grid, *name_label, *name_entry, *base_label, *combo;
if (!terminal_util_load_builder_file ("profile-new-dialog.ui",
"new-profile-dialog", &app->new_profile_dialog,
"new-profile-create-button", &create_button,
- "new-profile-table", &table,
+ "new-profile-grid", &grid,
"new-profile-name-label", &name_label,
"new-profile-name-entry", &name_entry,
"new-profile-base-label", &base_label,
@@ -1236,7 +1236,7 @@ terminal_app_new_profile (TerminalApp *app,
/* the base profile option menu */
combo = profile_combo_box_new (app);
- gtk_table_attach_defaults (GTK_TABLE (table), combo, 1, 2, 1, 2);
+ gtk_grid_attach (GTK_GRID (grid), combo, 2, 1, 1, 1);
g_object_set_data (G_OBJECT (app->new_profile_dialog), "base_option_menu", combo);
terminal_util_set_atk_name_description (combo, NULL, _("Choose base profile"));