From 0829615385c39a0544f3b229dae1d723473ae058 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 18 Feb 2013 05:32:12 +0000 Subject: [PATCH] remove some debugging printfs --- dunst_dbus.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dunst_dbus.c b/dunst_dbus.c index dd220e5..9e3190e 100644 --- a/dunst_dbus.c +++ b/dunst_dbus.c @@ -88,9 +88,9 @@ void handle_method_call(GDBusConnection *connection, onGetServerInformation(connection, sender, parameters, invocation); } else { g_object_unref(invocation); + printf("WARNING: sender: %s; unknown method_name: %s\n", sender, method_name); } - printf("sender: %s\nmethod_name: %s\n", sender, method_name); } static void onGetCapabilities(GDBusConnection *connection, @@ -98,7 +98,6 @@ static void onGetCapabilities(GDBusConnection *connection, const GVariant *parameters, GDBusMethodInvocation *invocation) { - printf("GetCapabilities\n"); GVariantBuilder *builder; GVariant *value; @@ -119,8 +118,6 @@ static void onNotify(GDBusConnection *connection, GDBusMethodInvocation *invocation) { - printf("Notify\n"); - gchar *appname = NULL; guint replaces_id = 0; gchar *icon = NULL; @@ -238,14 +235,12 @@ static void onGetServerInformation(GDBusConnection *connection, const GVariant *parameters, GDBusMethodInvocation *invocation) { - printf("GetServerInformation\n"); GVariant *value; value = g_variant_new ("(ssss)", "dunst", "knopwob", VERSION, "2013"); g_dbus_method_invocation_return_value(invocation, value); g_dbus_connection_flush(connection, NULL, NULL, NULL); - printf("End GetServerInformation\n"); } void notificationClosed(notification * n, int reason)