From c2d5761cd1b788abdc8035a2da355ef7791f0b85 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 4 Oct 2012 12:08:54 +0200 Subject: Fix a typo. --- src/common/qdbusobject.cpp | 4 ++-- src/common/qdbusobject.h | 2 +- 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(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 -- cgit v1.2.3