[gtranslator: 13/15] Set margin in container, not in dialog
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator: 13/15] Set margin in container, not in dialog
- Date: Mon, 28 Mar 2022 07:36:16 +0000 (UTC)
commit cc575fb06d0e4108ef9b092aa948a7d1508edf76
Author: Daniel Garcia Moreno <dani danigm net>
Date: Mon Mar 28 07:11:17 2022 +0000
Set margin in container, not in dialog
src/gtr-profile-dialog.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gtr-profile-dialog.c b/src/gtr-profile-dialog.c
index 5191e179..96b2ca68 100644
--- a/src/gtr-profile-dialog.c
+++ b/src/gtr-profile-dialog.c
@@ -78,10 +78,10 @@ gtr_profile_dialog_init (GtrProfileDialog *dlg)
content_area = GTK_BOX (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_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 (content_area, 6);
builder = gtk_builder_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]