summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-05-12 00:31:06 +0200
committerPablo Barciela <[email protected]>2018-05-12 00:31:06 +0200
commit0bc141e0eeec9a10d119bb504ffea339e82f2350 (patch)
treeb67ad126031b2dc7ba67b8f6ee2ff57dc4636257
parent310bfc249aac3dd80511d3dade14aa06f3d9769a (diff)
downloadpluma-0bc141e0eeec9a10d119bb504ffea339e82f2350.tar.bz2
pluma-0bc141e0eeec9a10d119bb504ffea339e82f2350.tar.xz
avoid deprecated 'gtk_dialog_get_action_area'
-rw-r--r--plugins/spell/pluma-spell-language-dialog.c4
-rw-r--r--pluma/dialogs/pluma-encodings-dialog.c3
-rw-r--r--pluma/dialogs/pluma-preferences-dialog.c2
-rw-r--r--pluma/dialogs/pluma-search-dialog.c4
4 files changed, 0 insertions, 13 deletions
diff --git a/plugins/spell/pluma-spell-language-dialog.c b/plugins/spell/pluma-spell-language-dialog.c
index fda020bd..d5a70127 100644
--- a/plugins/spell/pluma-spell-language-dialog.c
+++ b/plugins/spell/pluma-spell-language-dialog.c
@@ -141,10 +141,6 @@ create_dialog (PlumaSpellLanguageDialog *dlg,
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
2); /* 2 * 5 + 2 = 12 */
- gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
- 5);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
- 6);
g_signal_connect (dlg,
"response",
diff --git a/pluma/dialogs/pluma-encodings-dialog.c b/pluma/dialogs/pluma-encodings-dialog.c
index 9a7dd160..cc94178b 100644
--- a/pluma/dialogs/pluma-encodings-dialog.c
+++ b/pluma/dialogs/pluma-encodings-dialog.c
@@ -320,9 +320,6 @@ pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
2); /* 2 * 5 + 2 = 12 */
- gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
- 5);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 6);
gtk_dialog_set_default_response (GTK_DIALOG (dlg),
GTK_RESPONSE_OK);
diff --git a/pluma/dialogs/pluma-preferences-dialog.c b/pluma/dialogs/pluma-preferences-dialog.c
index 5afacea5..00339e75 100644
--- a/pluma/dialogs/pluma-preferences-dialog.c
+++ b/pluma/dialogs/pluma-preferences-dialog.c
@@ -1144,8 +1144,6 @@ pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg)
/* HIG defaults */
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 2); /* 2 * 5 + 2 = 12 */
- gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 5);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 6);
g_signal_connect (dlg,
"response",
diff --git a/pluma/dialogs/pluma-search-dialog.c b/pluma/dialogs/pluma-search-dialog.c
index d19d0d85..1fa2ec03 100644
--- a/pluma/dialogs/pluma-search-dialog.c
+++ b/pluma/dialogs/pluma-search-dialog.c
@@ -336,10 +336,6 @@ pluma_search_dialog_init (PlumaSearchDialog *dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
2); /* 2 * 5 + 2 = 12 */
- gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
- 5);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
- 6);
file = pluma_dirs_get_ui_file ("pluma-search-dialog.ui");