Mercurial > projects > xinhibit-applet
diff 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 |
line wrap: on
line diff
--- a/xia-inhibitor.h Thu Apr 17 10:48:09 2014 +0200 +++ b/xia-inhibitor.h Thu Apr 17 11:01:25 2014 +0200 @@ -30,36 +30,34 @@ G_BEGIN_DECLS #define XIA_TYPE_INHIBITOR (xia_inhibitor_get_type()) -#define XIA_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ - XIA_TYPE_INHIBITOR, XiaInhibitor)) -#define XIA_IS_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ - XIA_TYPE_INHIBITOR)) -#define XIA_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \ - XIA_TYPE_INHIBITOR, XiaInhibitorClass)) -#define XIA_IS_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \ - XIA_TYPE_INHIBITOR)) -#define XIA_INHIBITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \ - XIA_TYPE_INHIBITOR, XiaInhibitorClass)) +#define XIA_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),\ + XIA_TYPE_INHIBITOR, XiaInhibitor)) +#define XIA_IS_INHIBITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),\ + XIA_TYPE_INHIBITOR)) +#define XIA_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),\ + XIA_TYPE_INHIBITOR, XiaInhibitorClass)) +#define XIA_IS_INHIBITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\ + XIA_TYPE_INHIBITOR)) +#define XIA_INHIBITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\ + XIA_TYPE_INHIBITOR, XiaInhibitorClass)) typedef struct _XiaInhibitor XiaInhibitor; -typedef struct _XiaInhibitorClass XiaInhibitorClass; +typedef struct _XiaInhibitorClass XiaInhibitorClass; typedef struct _XiaInhibitorPrivate XiaInhibitorPrivate; -struct _XiaInhibitor -{ +struct _XiaInhibitor { GObject parent_instance; XiaInhibitorPrivate *priv; }; -struct _XiaInhibitorClass -{ +struct _XiaInhibitorClass { GObjectClass parent_class; }; -XiaInhibitor *xia_inhibitor_new(void); -void xia_inhibitor_set_inhibited(XiaInhibitor *self, gboolean inhibited); -gboolean xia_inhibitor_get_inhibited(XiaInhibitor *self); +XiaInhibitor * xia_inhibitor_new(void); +void xia_inhibitor_set_inhibited(XiaInhibitor *, gboolean); +gboolean xia_inhibitor_get_inhibited(XiaInhibitor *); G_END_DECLS