[gnome-photos] main-window: Fix typo



commit ab4005e9d15f97159b779d7e38e3a528069ef0a1
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Apr 23 17:21:41 2012 +0200

    main-window: Fix typo

 src/photos-main-window.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-main-window.c b/src/photos-main-window.c
index 321a5a4..f784018 100644
--- a/src/photos-main-window.c
+++ b/src/photos-main-window.c
@@ -80,10 +80,10 @@ photos_main_window_new (GtkApplication *application)
 {
   g_return_val_if_fail (GTK_IS_APPLICATION (application), NULL);
 
-  g_object_new (PHOTOS_TYPE_MAIN_WINDOW,
-                "application", application,
-                "hide-titlebar-when-maximized", TRUE,
-                "title", _(PACKAGE_NAME),
-                "window-position", GTK_WIN_POS_CENTER,
-                NULL);
+  return g_object_new (PHOTOS_TYPE_MAIN_WINDOW,
+                       "application", application,
+                       "hide-titlebar-when-maximized", TRUE,
+                       "title", _(PACKAGE_NAME),
+                       "window-position", GTK_WIN_POS_CENTER,
+                       NULL);
 }



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