diff options
author | Christian Hammond <chipx86@chipx86.com> | 2006-01-20 10:00:32 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2006-01-20 10:00:32 +0000 |
commit | 85342c8619067019e0422495dbf0f149f5271e7a (patch) | |
tree | 7f7b54669f7a1f8eea288939e33eae4075660e4d /tests | |
parent | a834c839fc2af1f08675222b296ee538e9e1d3ce (diff) | |
download | libnotify-85342c8619067019e0422495dbf0f149f5271e7a.tar.gz |
- Fix some weird argument ordering in the calls to dbus_g_proxy_call_*().
- Re-order the arguments as per the spec.
- Change NOTIFY_TIMEOUT_* to NOTIFY_EXPIRES_*.
- Update the spec to 0.9.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-default-action.c | 2 | ||||
-rw-r--r-- | tests/test-image.c | 2 | ||||
-rw-r--r-- | tests/test-multi-actions.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-default-action.c b/tests/test-default-action.c index d452aa0..eb8c4f4 100644 --- a/tests/test-default-action.c +++ b/tests/test-default-action.c @@ -59,7 +59,7 @@ main() dbus_connection_setup_with_g_main(conn, NULL); n = notify_notification_new ("Matt is online", "", NULL, NULL); - notify_notification_set_timeout (n, NOTIFY_TIMEOUT_NEVER); + notify_notification_set_timeout (n, NOTIFY_EXPIRES_DEFAULT); notify_notification_add_action (n, "default", "Do Default Action", (NotifyActionCallback)callback); notify_notification_set_category (n, "presence.online"); diff --git a/tests/test-image.c b/tests/test-image.c index dc5a521..c921f72 100644 --- a/tests/test-image.c +++ b/tests/test-image.c @@ -61,7 +61,7 @@ main(int argc, char *argv[]) notify_notification_set_hint_int32(n, "x", 300); notify_notification_set_hint_int32(n, "y", 24); - notify_notification_set_timeout(n, NOTIFY_TIMEOUT_NEVER); + notify_notification_set_timeout(n, NOTIFY_EXPIRES_DEFAULT); helper = gtk_button_new(); icon = gtk_widget_render_icon(helper, GTK_STOCK_DIALOG_QUESTION, diff --git a/tests/test-multi-actions.c b/tests/test-multi-actions.c index c5da12f..5f912f1 100644 --- a/tests/test-multi-actions.c +++ b/tests/test-multi-actions.c @@ -92,7 +92,7 @@ main(int argc, char **argv) "You can free up some disk space by " "emptying the trash can.", NULL, NULL); - notify_notification_set_timeout(n, NOTIFY_TIMEOUT_NEVER); + notify_notification_set_timeout(n, NOTIFY_EXPIRES_DEFAULT); notify_notification_add_action(n, "help", "Help", (NotifyActionCallback)help_callback); notify_notification_add_action(n, "ignore", "Ignore", |