summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet-factory.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-06-19 15:37:13 -0700
committerStefano Karapetsas <[email protected]>2012-06-19 15:37:13 -0700
commit433b732669ea1accb0fbc79bce6c39f416ea5234 (patch)
tree98f4c9c981cdcb0590b156a8e0f709bdbd0669a3 /libmate-panel-applet/mate-panel-applet-factory.c
parent6b4bc7a4e45fec8a17c9be53338cfdca5eb4cc24 (diff)
parentbf0d96ed544a2a50ad7ca350baf75aab3d77622c (diff)
downloadmate-panel-433b732669ea1accb0fbc79bce6c39f416ea5234.tar.bz2
mate-panel-433b732669ea1accb0fbc79bce6c39f416ea5234.tar.xz
Merge pull request #28 from ketheriel/master
libpanel-applet: Use on_bus_acquired instead of on_name_acquired
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet-factory.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet-factory.c b/libmate-panel-applet/mate-panel-applet-factory.c
index fd7713af..9821e323 100644
--- a/libmate-panel-applet/mate-panel-applet-factory.c
+++ b/libmate-panel-applet/mate-panel-applet-factory.c
@@ -210,7 +210,7 @@ static const GDBusInterfaceVTable interface_vtable = {
static GDBusNodeInfo *introspection_data = NULL;
static void
-on_name_acquired (GDBusConnection *connection,
+on_bus_acquired (GDBusConnection *connection,
const gchar *name,
MatePanelAppletFactory *factory)
{
@@ -251,7 +251,7 @@ mate_panel_applet_factory_register_service (MatePanelAppletFactory *factory)
g_bus_own_name (G_BUS_TYPE_SESSION,
service_name,
G_BUS_NAME_OWNER_FLAGS_NONE,
- (GBusAcquiredCallback) on_name_acquired,
+ (GBusAcquiredCallback) on_bus_acquired,
NULL,
(GBusNameLostCallback) on_name_lost,
factory, NULL);