diff options
author | Benjamin Otte <otte@redhat.com> | 2013-06-26 15:50:32 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-06-26 15:51:32 +0200 |
commit | 427d4195a1ff448d6e605e78b12a23328e64ceb9 (patch) | |
tree | d28d26099189158a2c0f2f35dcece255c2bca9c2 /tests/testimage.c | |
parent | 14c78ed66773243dfd7cd49d30d17c8998f81cbf (diff) | |
download | gtk+-427d4195a1ff448d6e605e78b12a23328e64ceb9.tar.gz |
tests: Ignore deprecation warnings
Diffstat (limited to 'tests/testimage.c')
-rw-r--r-- | tests/testimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testimage.c b/tests/testimage.c index e1859618ec..27f7327e35 100644 --- a/tests/testimage.c +++ b/tests/testimage.c @@ -151,8 +151,10 @@ main (int argc, char **argv) label = gtk_label_new ("GTK_IMAGE_STOCK"); gtk_grid_attach (GTK_GRID (grid), label, 0, 2, 1, 1); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; image = gtk_image_new_from_stock (GTK_STOCK_REDO, GTK_ICON_SIZE_DIALOG); gtk_grid_attach (GTK_GRID (grid), image, 1, 2, 1, 1); + G_GNUC_END_IGNORE_DEPRECATIONS; label = gtk_label_new ("GTK_IMAGE_ICON_SET"); gtk_grid_attach (GTK_GRID (grid), label, 0, 3, 1, 1); |