aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/qdbusobject.cpp4
-rw-r--r--src/common/qdbusobject.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/qdbusobject.cpp b/src/common/qdbusobject.cpp
index ff2a4a6..abc68b4 100644
--- a/src/common/qdbusobject.cpp
+++ b/src/common/qdbusobject.cpp
@@ -152,7 +152,7 @@ void QDBusObject::connect()
m_busName.toLatin1(),
G_BUS_NAME_WATCHER_FLAGS_NONE,
QDBusObject::onServiceAppeared,
- QDBusObject::onServiceFanished,
+ QDBusObject::onServiceVanished,
this,
NULL);
@@ -179,7 +179,7 @@ void QDBusObject::onServiceAppeared(GDBusConnection *connection, const gchar *,
self->serviceAppear(connection);
}
-void QDBusObject::onServiceFanished(GDBusConnection *connection, const gchar *, gpointer data)
+void QDBusObject::onServiceVanished(GDBusConnection *connection, const gchar *, gpointer data)
{
QDBusObject *self = reinterpret_cast<QDBusObject*>(data);
diff --git a/src/common/qdbusobject.h b/src/common/qdbusobject.h
index cad6658..a3cef38 100644
--- a/src/common/qdbusobject.h
+++ b/src/common/qdbusobject.h
@@ -67,7 +67,7 @@ private:
// glib slots
static void onServiceAppeared(GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer data);
- static void onServiceFanished(GDBusConnection *connection, const gchar *name, gpointer data);
+ static void onServiceVanished(GDBusConnection *connection, const gchar *name, gpointer data);
};
#endif