Skip to content
Permalink
Browse files

avoid deprecated 'gtk_dialog_get_action_area'

  • Loading branch information...
sc0w committed May 11, 2018
1 parent 310bfc2 commit 0bc141e0eeec9a10d119bb504ffea339e82f2350
@@ -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",
@@ -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);
@@ -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",
@@ -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");

0 comments on commit 0bc141e

Please sign in to comment.
You can’t perform that action at this time.