[gnome-photos] main-window: Style fixes



commit 4ce6398983d786d5d7e11b615fb8940bebafb578
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 2 15:15:06 2012 +0200

    main-window: Style fixes

 src/photos-main-window.c |    4 +---
 src/photos-main-window.h |   27 +++++++++++++++++++++------
 2 files changed, 22 insertions(+), 9 deletions(-)
---
diff --git a/src/photos-main-window.c b/src/photos-main-window.c
index 5adc364..837416a 100644
--- a/src/photos-main-window.c
+++ b/src/photos-main-window.c
@@ -230,9 +230,7 @@ photos_main_window_init (PhotosMainWindow *self)
   ClutterConstraint *constraint;
   ClutterLayoutManager *overlay_layout;
 
-  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
-                                            PHOTOS_TYPE_MAIN_WINDOW,
-                                            PhotosMainWindowPrivate);
+  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindowPrivate);
   priv = self->priv;
 
   priv->clutter_embed = gtk_clutter_embed_new ();
diff --git a/src/photos-main-window.h b/src/photos-main-window.h
index 57efde0..32f7e9b 100644
--- a/src/photos-main-window.h
+++ b/src/photos-main-window.h
@@ -25,12 +25,27 @@
 
 G_BEGIN_DECLS
 
-#define PHOTOS_TYPE_MAIN_WINDOW            (photos_main_window_get_type ())
-#define PHOTOS_MAIN_WINDOW(o)              (G_TYPE_CHECK_INSTANCE_CAST ((o), PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindow))
-#define PHOTOS_MAIN_WINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindowClass))
-#define PHOTOS_IS_MAIN_WINDOW(o)           (G_TYPE_CHECK_INSTANCE_TYPE ((o), PHOTOS_TYPE_MAIN_WINDOW))
-#define PHOTOS_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PHOTOS_TYPE_MAIN_WINDOW))
-#define PHOTOS_MAIN_WINDOW_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindowClass))
+#define PHOTOS_TYPE_MAIN_WINDOW (photos_main_window_get_type ())
+
+#define PHOTOS_MAIN_WINDOW(obj) \
+  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+   PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindow))
+
+#define PHOTOS_MAIN_WINDOW_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST ((klass), \
+   PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindowClass))
+
+#define PHOTOS_IS_MAIN_WINDOW(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
+   PHOTOS_TYPE_MAIN_WINDOW))
+
+#define PHOTOS_IS_MAIN_WINDOW_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
+   PHOTOS_TYPE_MAIN_WINDOW))
+
+#define PHOTOS_MAIN_WINDOW_GET_CLASS(obj) \
+  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+   PHOTOS_TYPE_MAIN_WINDOW, PhotosMainWindowClass))
 
 typedef struct _PhotosMainWindow        PhotosMainWindow;
 typedef struct _PhotosMainWindowClass   PhotosMainWindowClass;



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