[gtranslator: 14/15] confirmation dialog: Set margin in container
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator: 14/15] confirmation dialog: Set margin in container
- Date: Mon, 28 Mar 2022 07:36:16 +0000 (UTC)
commit 0be504b3c9401bb873455b364ed535254e8dadc2
Author: Daniel GarcĂa Moreno <dani danigm net>
Date: Mon Mar 28 09:35:09 2022 +0200
confirmation dialog: Set margin in container
src/gtr-close-confirmation-dialog.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/gtr-close-confirmation-dialog.c b/src/gtr-close-confirmation-dialog.c
index c0e23d89..f86ddcf4 100644
--- a/src/gtr-close-confirmation-dialog.c
+++ b/src/gtr-close-confirmation-dialog.c
@@ -134,12 +134,14 @@ static void
gtr_close_confirmation_dialog_init (GtrCloseConfirmationDialog * dlg)
{
AtkObject *atk_obj;
+ GtkWidget *content_area = gtk_dialog_get_content_area (GTK_DIALOG (dlg));
- gtk_widget_set_margin_start (GTK_WIDGET (dlg), 6);
- gtk_widget_set_margin_end (GTK_WIDGET (dlg), 6);
- gtk_widget_set_margin_top (GTK_WIDGET (dlg), 6);
- gtk_widget_set_margin_bottom (GTK_WIDGET (dlg), 6);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 14);
+ gtk_widget_set_margin_start (GTK_WIDGET (content_area), 6);
+ gtk_widget_set_margin_end (GTK_WIDGET (content_area), 6);
+ gtk_widget_set_margin_top (GTK_WIDGET (content_area), 6);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (content_area), 6);
+
+ gtk_box_set_spacing (GTK_BOX (content_area), 14);
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]