[gedit/dbus] Fix warning for unsupported method
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/dbus] Fix warning for unsupported method
- Date: Sun, 2 May 2010 22:41:26 +0000 (UTC)
commit 5b4d3a92c7cf46128a62172c27981fbb632b5c36
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Mon May 3 00:40:47 2010 +0200
Fix warning for unsupported method
gedit/gedit-dbus.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-dbus.c b/gedit/gedit-dbus.c
index 62b1182..a4dc738 100644
--- a/gedit/gedit-dbus.c
+++ b/gedit/gedit-dbus.c
@@ -766,8 +766,10 @@ dbus_command_line_method_call_cb (GDBusConnection *connection,
{
dbus_handle_open (user_data, parameters, invocation);
}
-
- g_warning ("Unsupported method called on gedit service: %s", method_name);
+ else
+ {
+ g_warning ("Unsupported method called on gedit service: %s", method_name);
+ }
}
/* Introspection data for the service we are exporting */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]