evolution r36063 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36063 - branches/mail-dbus-remoting/mail
- Date: Tue, 26 Aug 2008 04:19:01 +0000 (UTC)
Author: sragavan
Date: Tue Aug 26 04:19:01 2008
New Revision: 36063
URL: http://svn.gnome.org/viewvc/evolution?rev=36063&view=rev
Log:
Fix append args.
Modified:
branches/mail-dbus-remoting/mail/mail-session-remote-impl.c
branches/mail-dbus-remoting/mail/mail-session-remote.c
Modified: branches/mail-dbus-remoting/mail/mail-session-remote-impl.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-session-remote-impl.c (original)
+++ branches/mail-dbus-remoting/mail/mail-session-remote-impl.c Tue Aug 26 04:19:01 2008
@@ -50,7 +50,7 @@
mail_session_init (path);
} else if (strcmp(method, "mail_session_get_interactive") == 0) {
gboolean interactive = mail_session_get_interactive();
- dbus_message_append_args (reply, DBUS_TYPE_BOOLEAN, interactive, DBUS_TYPE_INVALID);
+ dbus_message_append_args (reply, DBUS_TYPE_INT32, &interactive, DBUS_TYPE_INVALID);
d(printf("%s: %d\n", method, interactive));
added = TRUE;
} else if (strcmp(method, "mail_session_set_interactive") == 0) {
@@ -72,7 +72,7 @@
d(printf("%s: %s\n", method, key));
pass = mail_session_get_password (key);
added = TRUE;
- dbus_message_append_args (reply, DBUS_TYPE_STRING, pass, DBUS_TYPE_INVALID);
+ dbus_message_append_args (reply, DBUS_TYPE_STRING, &pass, DBUS_TYPE_INVALID);
} else if (strcmp(method, "mail_session_add_password") == 0) {
gboolean ret;
char *key = NULL, *pass = NULL;
Modified: branches/mail-dbus-remoting/mail/mail-session-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-session-remote.c (original)
+++ branches/mail-dbus-remoting/mail/mail-session-remote.c Tue Aug 26 04:19:01 2008
@@ -50,7 +50,7 @@
MAIL_SESSION_INTERFACE,
"mail_session_get_interactive",
&error,
- "=>b", &ret_val);
+ "=>i", &ret_val);
if (!ret) {
g_warning ("Error: mail_session_remote_get_interactive: %s\n", error.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]