[gnome-photos] print-notification: Silence a compiler warning



commit b96b7eebf88e2322254036510805d483190fc9d9
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Aug 13 21:52:30 2014 +0200

    print-notification: Silence a compiler warning
    
    Fallout from 0c1f1e48ca17cb91d3720aec0fce4644bac61439

 src/photos-print-notification.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/photos-print-notification.c b/src/photos-print-notification.c
index d6aab35..97734ae 100644
--- a/src/photos-print-notification.c
+++ b/src/photos-print-notification.c
@@ -201,11 +201,11 @@ photos_print_notification_class_init (PhotosPrintNotificationClass *class)
 void
 photos_print_notification_new (GtkPrintOperation *print_op)
 {
-  return 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);
+  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]