summaryrefslogtreecommitdiff
path: root/liblightdm-gobject
diff options
context:
space:
mode:
authorDavid Edmundson <david@davidedmundson.co.uk>2011-11-20 21:31:13 +0000
committerDavid Edmundson <david@davidedmundson.co.uk>2011-11-20 21:31:13 +0000
commit131f0c158933adfe6150b062ddf827ad6c940c60 (patch)
tree3daedd7167f9dc2199b3afea9c043e060b6bcd28 /liblightdm-gobject
parent917c8fe94754c9de57689f28176b2b12fe1a419b (diff)
downloadlightdm-131f0c158933adfe6150b062ddf827ad6c940c60.tar.gz
Start of refactor to make QLightDM use the GObject library.
Initial UsersModel port
Diffstat (limited to 'liblightdm-gobject')
-rw-r--r--liblightdm-gobject/lightdm.h2
-rw-r--r--liblightdm-gobject/lightdm/power.h2
-rw-r--r--liblightdm-gobject/lightdm/system.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/liblightdm-gobject/lightdm.h b/liblightdm-gobject/lightdm.h
index a23ecdfc..43603e22 100644
--- a/liblightdm-gobject/lightdm.h
+++ b/liblightdm-gobject/lightdm.h
@@ -20,6 +20,4 @@
#include "lightdm/system.h"
#include "lightdm/user.h"
-G_END_DECLS
-
#endif /* _LIGHTDM_H_ */
diff --git a/liblightdm-gobject/lightdm/power.h b/liblightdm-gobject/lightdm/power.h
index 284382b2..c8d22198 100644
--- a/liblightdm-gobject/lightdm/power.h
+++ b/liblightdm-gobject/lightdm/power.h
@@ -12,6 +12,8 @@
#ifndef _LIGHTDM_POWER_H_
#define _LIGHTDM_POWER_H_
+G_BEGIN_DECLS
+
gboolean lightdm_get_can_suspend (void);
gboolean lightdm_suspend (GError **error);
diff --git a/liblightdm-gobject/lightdm/system.h b/liblightdm-gobject/lightdm/system.h
index f070ec80..a5510403 100644
--- a/liblightdm-gobject/lightdm/system.h
+++ b/liblightdm-gobject/lightdm/system.h
@@ -14,6 +14,8 @@
#include <glib-object.h>
+G_BEGIN_DECLS
+
const gchar *lightdm_get_hostname (void);
G_END_DECLS