[gnome-photos] mode-controller: Style fixes
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] mode-controller: Style fixes
- Date: Thu, 3 May 2012 22:40:24 +0000 (UTC)
commit e5a107b1ffa168882cd539793f82bde39dc1ddc4
Author: Debarshi Ray <debarshir gnome org>
Date: Fri May 4 00:34:22 2012 +0200
mode-controller: Style fixes
src/photos-mode-controller.h | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-mode-controller.h b/src/photos-mode-controller.h
index 2db54cd..898bed3 100644
--- a/src/photos-mode-controller.h
+++ b/src/photos-mode-controller.h
@@ -25,12 +25,27 @@
G_BEGIN_DECLS
-#define PHOTOS_TYPE_MODE_CONTROLLER (photos_mode_controller_get_type ())
-#define PHOTOS_MODE_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeController))
-#define PHOTOS_MODE_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeControllerClass))
-#define PHOTOS_IS_MODE_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PHOTOS_TYPE_MODE_CONTROLLER))
-#define PHOTOS_IS_MODE_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PHOTOS_TYPE_MODE_CONTROLLER))
-#define PHOTOS_MODE_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeControllerClass))
+#define PHOTOS_TYPE_MODE_CONTROLLER (photos_mode_controller_get_type ())
+
+#define PHOTOS_MODE_CONTROLLER(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+ PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeController))
+
+#define PHOTOS_MODE_CONTROLLER_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), \
+ PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeControllerClass))
+
+#define PHOTOS_IS_MODE_CONTROLLER(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
+ PHOTOS_TYPE_MODE_CONTROLLER))
+
+#define PHOTOS_IS_MODE_CONTROLLER_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), \
+ PHOTOS_TYPE_MODE_CONTROLLER))
+
+#define PHOTOS_MODE_CONTROLLER_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+ PHOTOS_TYPE_MODE_CONTROLLER, PhotosModeControllerClass))
typedef enum
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]