[gtk+] tests: Add deprecation guards
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Add deprecation guards
- Date: Thu, 10 Apr 2014 00:41:11 +0000 (UTC)
commit e109894f376e46f0920b33dadd627abbe71ea110
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 10 02:29:54 2014 +0200
tests: Add deprecation guards
tests/testdialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testdialog.c b/tests/testdialog.c
index 6726263..59d7638 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]