aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-10-14 11:59:43 -0500
committerTed Gould <ted@gould.cx>2010-10-14 11:59:43 -0500
commit0db52d9f483d8d63024c3dc83d1cb5709c4b3f81 (patch)
tree5d62c54e5d71be08a74e493346aa77ca94b5f01e /libdbusmenu-glib
parenta797369ae885c2df81620b90ce6eaa2a9de1de87 (diff)
downloadlibdbusmenu-0db52d9f483d8d63024c3dc83d1cb5709c4b3f81.tar.gz
libdbusmenu-0db52d9f483d8d63024c3dc83d1cb5709c4b3f81.tar.bz2
libdbusmenu-0db52d9f483d8d63024c3dc83d1cb5709c4b3f81.zip
Moving globals
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index 5729128..3a45f62 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -97,11 +97,6 @@ enum {
LAST_ERROR
};
-/* Globals */
-static GDBusNodeInfo * dbusmenu_node_info = NULL;
-static GDBusInterfaceInfo * dbusmenu_interface_info = NULL;
-static const GDBusInterfaceVTable dbusmenu_interface_table = {0};
-
/* Prototype */
static void dbusmenu_server_class_init (DbusmenuServerClass *class);
static void dbusmenu_server_init (DbusmenuServer *self);
@@ -118,6 +113,11 @@ static void menuitem_signals_create (DbusmenuMenuitem * mi, gpointer data);
static void menuitem_signals_remove (DbusmenuMenuitem * mi, gpointer data);
static GQuark error_quark (void);
+/* Globals */
+static GDBusNodeInfo * dbusmenu_node_info = NULL;
+static GDBusInterfaceInfo * dbusmenu_interface_info = NULL;
+static const GDBusInterfaceVTable dbusmenu_interface_table = {0};
+
G_DEFINE_TYPE (DbusmenuServer, dbusmenu_server, G_TYPE_OBJECT);
static void