[gnome-photos/gnome-3-20] Remove unnecessary margins



commit be7fc44c2d67cecdc972d8da370a48ea06a00285
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Mar 16 19:53:23 2016 +0100

    Remove unnecessary margins
    
    ... and let the theme do its job.
    
    Original patch from Lapo Calamandrei for gnome-documents.

 src/photos-delete-notification.c   |    2 --
 src/photos-done-notification.c     |    2 --
 src/photos-export-notification.c   |    2 --
 src/photos-indexing-notification.c |    2 --
 src/photos-print-notification.c    |    2 --
 5 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/photos-delete-notification.c b/src/photos-delete-notification.c
index ff025ec..d298cbf 100644
--- a/src/photos-delete-notification.c
+++ b/src/photos-delete-notification.c
@@ -259,8 +259,6 @@ photos_delete_notification_new (GList *items)
   g_object_new (PHOTOS_TYPE_DELETE_NOTIFICATION,
                 "column-spacing", 12,
                 "items", items,
-                "margin-start", 12,
-                "margin-end", 12,
                 "orientation", GTK_ORIENTATION_HORIZONTAL,
                 NULL);
 }
diff --git a/src/photos-done-notification.c b/src/photos-done-notification.c
index 1dc7de9..e4d0fa3 100644
--- a/src/photos-done-notification.c
+++ b/src/photos-done-notification.c
@@ -175,8 +175,6 @@ photos_done_notification_constructed (GObject *object)
   G_OBJECT_CLASS (photos_done_notification_parent_class)->constructed (object);
 
   gtk_grid_set_column_spacing (GTK_GRID (self), 12);
-  gtk_widget_set_margin_end (GTK_WIDGET (self), 12);
-  gtk_widget_set_margin_start (GTK_WIDGET (self), 12);
   gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_HORIZONTAL);
 
   name = photos_base_item_get_name_with_fallback (PHOTOS_BASE_ITEM (self->item));
diff --git a/src/photos-export-notification.c b/src/photos-export-notification.c
index 507e5bc..d57d5f7 100644
--- a/src/photos-export-notification.c
+++ b/src/photos-export-notification.c
@@ -229,8 +229,6 @@ photos_export_notification_constructed (GObject *object)
   G_OBJECT_CLASS (photos_export_notification_parent_class)->constructed (object);
 
   gtk_grid_set_column_spacing (GTK_GRID (self), 12);
-  gtk_widget_set_margin_end (GTK_WIDGET (self), 12);
-  gtk_widget_set_margin_start (GTK_WIDGET (self), 12);
   gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_HORIZONTAL);
 
   length = g_list_length (self->items);
diff --git a/src/photos-indexing-notification.c b/src/photos-indexing-notification.c
index 5c8fe89..8b3c2b6 100644
--- a/src/photos-indexing-notification.c
+++ b/src/photos-indexing-notification.c
@@ -321,8 +321,6 @@ photos_indexing_notification_new (void)
 {
   return g_object_new (PHOTOS_TYPE_INDEXING_NOTIFICATION,
                        "column-spacing", 12,
-                       "margin-start", 12,
-                       "margin-end", 12,
                        "orientation", GTK_ORIENTATION_HORIZONTAL,
                        NULL);
 }
diff --git a/src/photos-print-notification.c b/src/photos-print-notification.c
index 9767163..beeeed9 100644
--- a/src/photos-print-notification.c
+++ b/src/photos-print-notification.c
@@ -200,8 +200,6 @@ photos_print_notification_new (GtkPrintOperation *print_op)
 {
   g_object_new (PHOTOS_TYPE_PRINT_NOTIFICATION,
                 "column-spacing", 12,
-                "margin-start", 12,
-                "margin-end", 12,
                 "orientation", GTK_ORIENTATION_HORIZONTAL,
                 "print-op", print_op,
                 NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]