aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-watcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application-service-watcher.c')
-rw-r--r--src/application-service-watcher.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/application-service-watcher.c b/src/application-service-watcher.c
index 1c12eee..edbf05b 100644
--- a/src/application-service-watcher.c
+++ b/src/application-service-watcher.c
@@ -48,7 +48,6 @@ enum {
static gboolean _notification_watcher_server_register_status_notifier_item (ApplicationServiceWatcher * appwatcher, const gchar * service, DBusGMethodInvocation * method);
static gboolean _notification_watcher_server_register_status_notifier_host (ApplicationServiceWatcher * appwatcher, const gchar * host);
-static gboolean _notification_watcher_server_x_ayatana_register_notification_approver (ApplicationServiceWatcher * appwatcher, const gchar * path, const GArray * categories, DBusGMethodInvocation * method);
static void get_name_cb (DBusGProxy * proxy, guint status, GError * error, gpointer data);
#include "notification-watcher-server.h"
@@ -289,18 +288,3 @@ get_name_cb (DBusGProxy * proxy, guint status, GError * error, gpointer data)
return;
}
-
-static gboolean
-_notification_watcher_server_x_ayatana_register_notification_approver (ApplicationServiceWatcher * appwatcher, const gchar * path, const GArray * categories, DBusGMethodInvocation * method)
-{
- ApplicationServiceWatcherPrivate * priv = APPLICATION_SERVICE_WATCHER_GET_PRIVATE(appwatcher);
-
- char * sender = dbus_g_method_get_sender(method);
- application_service_appstore_approver_add(priv->appstore,
- sender,
- path);
- g_free(sender);
-
- dbus_g_method_return(method, G_TYPE_NONE);
- return TRUE;
-}