Skip to content

Commit 0bc141e

Browse files
committed
avoid deprecated 'gtk_dialog_get_action_area'
1 parent 310bfc2 commit 0bc141e

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

plugins/spell/pluma-spell-language-dialog.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ create_dialog (PlumaSpellLanguageDialog *dlg,
141141
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
142142
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
143143
2); /* 2 * 5 + 2 = 12 */
144-
gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
145-
5);
146-
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
147-
6);
148144

149145
g_signal_connect (dlg,
150146
"response",

pluma/dialogs/pluma-encodings-dialog.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,6 @@ pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg)
320320
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
321321
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
322322
2); /* 2 * 5 + 2 = 12 */
323-
gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
324-
5);
325-
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 6);
326323

327324
gtk_dialog_set_default_response (GTK_DIALOG (dlg),
328325
GTK_RESPONSE_OK);

pluma/dialogs/pluma-preferences-dialog.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,8 +1144,6 @@ pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg)
11441144
/* HIG defaults */
11451145
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
11461146
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 2); /* 2 * 5 + 2 = 12 */
1147-
gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 5);
1148-
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), 6);
11491147

11501148
g_signal_connect (dlg,
11511149
"response",

pluma/dialogs/pluma-search-dialog.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,6 @@ pluma_search_dialog_init (PlumaSearchDialog *dlg)
336336
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
337337
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
338338
2); /* 2 * 5 + 2 = 12 */
339-
gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
340-
5);
341-
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))),
342-
6);
343339

344340
file = pluma_dirs_get_ui_file ("pluma-search-dialog.ui");
345341

0 commit comments

Comments
 (0)