diff options
author | Christian Hammond <chipx86@chipx86.com> | 2006-01-20 06:11:53 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2006-01-20 06:11:53 +0000 |
commit | 78db57f7f2fcb5258a1ed7b24de2c3fafc629c77 (patch) | |
tree | 468d6c9bd798403d3761a0e90bbe5441dbb8ed70 /tests | |
parent | 3dac8b3d66d51149d837db9a9488004b0b0d5502 (diff) | |
download | libnotify-78db57f7f2fcb5258a1ed7b24de2c3fafc629c77.tar.gz |
Rename notify_notification_set_icon_data_from_pixbuf to notify_notification_set_icon_from_pixbuf.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-image.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/test-image.c b/tests/test-image.c index e7b845e..dc5a521 100644 --- a/tests/test-image.c +++ b/tests/test-image.c @@ -62,6 +62,13 @@ 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); + helper = gtk_button_new(); + icon = gtk_widget_render_icon(helper, + GTK_STOCK_DIALOG_QUESTION, + GTK_ICON_SIZE_DIALOG, + NULL); + + notify_notification_set_icon_from_pixbuf(n, icon); if (!notify_notification_show(n, NULL)) { @@ -99,9 +106,9 @@ main(int argc, char *argv[]) icon = gtk_widget_render_icon(helper, GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG, - ""); + NULL); - notify_notification_set_icon_data_from_pixbuf(n, icon); + notify_notification_set_icon_from_pixbuf(n, icon); if (!notify_notification_show(n, NULL)) { |