[vino] Use dprintf instead of g_printerr
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vino] Use dprintf instead of g_printerr
- Date: Fri, 28 Aug 2009 14:50:33 +0000 (UTC)
commit ab81e16a9fb39e711308fea93433c5a0c7afa0e6
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Aug 28 11:49:51 2009 -0300
Use dprintf instead of g_printerr
server/vino-server.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/server/vino-server.c b/server/vino-server.c
index 3a042fb..04ebb05 100644
--- a/server/vino-server.c
+++ b/server/vino-server.c
@@ -161,8 +161,7 @@ vino_server_lock_screen (VinoServer *server)
connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if (!connection)
{
- g_printerr (_("Failed to open connection to bus: %s\n"),
- error->message);
+ dprintf (DBUS, _("Failed to open connection to bus: %s\n"), error->message);
g_error_free (error);
return;
}
@@ -192,8 +191,7 @@ vino_server_unlock_screen (void)
connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if (!connection)
{
- g_printerr (_("Failed to open connection to bus: %s\n"),
- error->message);
+ dprintf (DBUS, _("Failed to open connection to bus: %s\n"), error->message);
g_error_free (error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]