diff options
author | Benjamin Otte <otte@redhat.com> | 2014-04-10 02:29:54 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-04-10 02:29:54 +0200 |
commit | e109894f376e46f0920b33dadd627abbe71ea110 (patch) | |
tree | 4f71057d371583c639186581001f7a1c6793d6ab /tests/testdialog.c | |
parent | 9b29a7a7008f5607f92117a887d24d3bdafe92b3 (diff) | |
download | gtk+-e109894f376e46f0920b33dadd627abbe71ea110.tar.gz |
tests: Add deprecation guards
Diffstat (limited to 'tests/testdialog.c')
-rw-r--r-- | tests/testdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdialog.c b/tests/testdialog.c index 6726263321..59d76381b3 100644 --- a/tests/testdialog.c +++ b/tests/testdialog.c @@ -35,7 +35,9 @@ show_message_dialog1a (GtkWindow *parent) image = gtk_image_new_from_icon_name ("computer-fail", GTK_ICON_SIZE_DIALOG); gtk_widget_show (image); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image); + G_GNUC_END_IGNORE_DEPRECATIONS; gtk_dialog_run (GTK_DIALOG (dialog)); |