remove some debugging printfs

This commit is contained in:
Sascha Kruse 2013-02-18 05:32:12 +00:00
parent 820cfe7315
commit 0829615385

View File

@ -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)