Mercurial > projects > xinhibit-applet
comparison xia-inhibitor.c @ 13:14f31e92372f
Fix style
author | Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
---|---|
date | Thu, 17 Apr 2014 11:01:25 +0200 |
parents | 957d697d27d3 |
children |
comparison
equal
deleted
inserted
replaced
12:a59a7fd5be70 | 13:14f31e92372f |
---|---|
34 | 34 |
35 #define FAKE_EVENT_TIMEOUT 20 | 35 #define FAKE_EVENT_TIMEOUT 20 |
36 | 36 |
37 G_DEFINE_TYPE(XiaInhibitor, xia_inhibitor, G_TYPE_OBJECT) | 37 G_DEFINE_TYPE(XiaInhibitor, xia_inhibitor, G_TYPE_OBJECT) |
38 | 38 |
39 #define XIA_INHIBITOR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), \ | 39 #define XIA_INHIBITOR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj),\ |
40 XIA_TYPE_INHIBITOR, XiaInhibitorPrivate)) | 40 XIA_TYPE_INHIBITOR, XiaInhibitorPrivate)) |
41 | 41 |
42 struct _XiaInhibitorPrivate | 42 struct _XiaInhibitorPrivate { |
43 { | |
44 XiaInhibitor *inhibitor; | 43 XiaInhibitor *inhibitor; |
45 gboolean inhibited; | 44 gboolean inhibited; |
46 gboolean have_xtest; | 45 gboolean have_xtest; |
47 guint generate_fake_event_id; | 46 guint generate_fake_event_id; |
48 }; | 47 }; |