diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-25 20:57:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-25 20:59:04 -0500 |
commit | b5bacb3be640a25eb7573090df6d1af6a9adcc7e (patch) | |
tree | 4bb50d67d3952387b5a9f99f63db68f5e95f58ba /gtk/gtkshortcutswindow.c | |
parent | a9c05193a7b7366989b75471150b1f6d644e2285 (diff) | |
download | gtk+-b5bacb3be640a25eb7573090df6d1af6a9adcc7e.tar.gz |
Drop the margin property
Replace it with margin-start, -end, -top, -bottom throughout.
Diffstat (limited to 'gtk/gtkshortcutswindow.c')
-rw-r--r-- | gtk/gtkshortcutswindow.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c index 2e252054a7..bfeb4346d3 100644 --- a/gtk/gtkshortcutswindow.c +++ b/gtk/gtkshortcutswindow.c @@ -352,7 +352,10 @@ gtk_shortcuts_window_add_section (GtkShortcutsWindow *self, NULL); g_object_set_data (G_OBJECT (row), "gtk-shortcuts-section", section); label = g_object_new (GTK_TYPE_LABEL, - "margin", 6, + "margin-start", 6, + "margin-end", 6, + "margin-top", 6, + "margin-bottom", 6, "label", title, "xalign", 0.5f, NULL); @@ -991,7 +994,10 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self) empty = g_object_new (GTK_TYPE_GRID, "row-spacing", 12, - "margin", 12, + "margin-start", 12, + "margin-end", 12, + "margin-top", 12, + "margin-bottom", 12, "hexpand", TRUE, "vexpand", TRUE, "halign", GTK_ALIGN_CENTER, |