projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified webpage: now tinymail repository is in gitorious.
[modest]
/
tests
/
dbus_api
/
test_open_default_inbox.c
diff --git
a/tests/dbus_api/test_open_default_inbox.c
b/tests/dbus_api/test_open_default_inbox.c
index
4b320ae
..
3cd8e95
100644
(file)
--- a/
tests/dbus_api/test_open_default_inbox.c
+++ b/
tests/dbus_api/test_open_default_inbox.c
@@
-5,26
+5,18
@@
int
main (int argc, char *argv[])
{
osso_context_t *osso_context;
main (int argc, char *argv[])
{
osso_context_t *osso_context;
- const char *url;
- gboolean ret;
+ gboolean ret;
osso_context = osso_initialize ("test_open_default_inbox",
"0.0.1",
TRUE,
NULL);
osso_context = osso_initialize ("test_open_default_inbox",
"0.0.1",
TRUE,
NULL);
-
+
if (osso_context == NULL) {
g_printerr ("osso_initialize() failed.\n");
return -1;
}
if (osso_context == NULL) {
g_printerr ("osso_initialize() failed.\n");
return -1;
}
-
- if (argc == 2) {
- url = argv[1];
- } else {
- url = "local://???FIXME???";
- }
- g_print ("Trying to open the default inbox:\n", url);
ret = libmodest_dbus_client_open_default_inbox (osso_context);
if (!ret) {
ret = libmodest_dbus_client_open_default_inbox (osso_context);
if (!ret) {
@@
-32,7
+24,6
@@
main (int argc, char *argv[])
} else {
g_print ("libmodest_dbus_client_open_default_inbox() succeeded.\n");
}
} else {
g_print ("libmodest_dbus_client_open_default_inbox() succeeded.\n");
}
-
- return ret ? 0 : -1;
+ return ret ? 0 : -1;
}
}