comparison xia-inhibitor.h @ 13:14f31e92372f

Fix style
author Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
date Thu, 17 Apr 2014 11:01:25 +0200
parents a59a7fd5be70
children dd1e5ae679f6
comparison
equal deleted inserted replaced
12:a59a7fd5be70 13:14f31e92372f
28 #include <glib-object.h> 28 #include <glib-object.h>
29 29
30 G_BEGIN_DECLS 30 G_BEGIN_DECLS
31 31
32 #define XIA_TYPE_INHIBITOR (xia_inhibitor_get_type()) 32 #define XIA_TYPE_INHIBITOR (xia_inhibitor_get_type())
33 #define XIA_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ 33 #define XIA_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),\
34 XIA_TYPE_INHIBITOR, XiaInhibitor)) 34 XIA_TYPE_INHIBITOR, XiaInhibitor))
35 #define XIA_IS_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ 35 #define XIA_IS_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),\
36 XIA_TYPE_INHIBITOR)) 36 XIA_TYPE_INHIBITOR))
37 #define XIA_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \ 37 #define XIA_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),\
38 XIA_TYPE_INHIBITOR, XiaInhibitorClass)) 38 XIA_TYPE_INHIBITOR, XiaInhibitorClass))
39 #define XIA_IS_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \ 39 #define XIA_IS_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
40 XIA_TYPE_INHIBITOR)) 40 XIA_TYPE_INHIBITOR))
41 #define XIA_INHIBITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \ 41 #define XIA_INHIBITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
42 XIA_TYPE_INHIBITOR, XiaInhibitorClass)) 42 XIA_TYPE_INHIBITOR, XiaInhibitorClass))
43 43
44 typedef struct _XiaInhibitor XiaInhibitor; 44 typedef struct _XiaInhibitor XiaInhibitor;
45 typedef struct _XiaInhibitorClass XiaInhibitorClass; 45 typedef struct _XiaInhibitorClass XiaInhibitorClass;
46 typedef struct _XiaInhibitorPrivate XiaInhibitorPrivate; 46 typedef struct _XiaInhibitorPrivate XiaInhibitorPrivate;
47 47
48 struct _XiaInhibitor 48 struct _XiaInhibitor {
49 {
50 GObject parent_instance; 49 GObject parent_instance;
51 50
52 XiaInhibitorPrivate *priv; 51 XiaInhibitorPrivate *priv;
53 }; 52 };
54 53
55 struct _XiaInhibitorClass 54 struct _XiaInhibitorClass {
56 {
57 GObjectClass parent_class; 55 GObjectClass parent_class;
58 }; 56 };
59 57
60 XiaInhibitor *xia_inhibitor_new(void); 58 XiaInhibitor * xia_inhibitor_new(void);
61 void xia_inhibitor_set_inhibited(XiaInhibitor *self, gboolean inhibited); 59 void xia_inhibitor_set_inhibited(XiaInhibitor *, gboolean);
62 gboolean xia_inhibitor_get_inhibited(XiaInhibitor *self); 60 gboolean xia_inhibitor_get_inhibited(XiaInhibitor *);
63 61
64 G_END_DECLS 62 G_END_DECLS
65 63
66 #endif /* __XIA_INHIBITOR_H */ 64 #endif /* __XIA_INHIBITOR_H */