summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-29 10:36:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-29 13:31:41 -0400
commit66b062a9761ca86130658adb66e929b3c5acb7ba (patch)
tree7be067c23b2d2ef328cd02c118b465fe1ec1caf1 /tests
parent15572b01833910a3b65edcc28eaa28968847fe71 (diff)
downloadgtk+-66b062a9761ca86130658adb66e929b3c5acb7ba.tar.gz
Deprecate GtkMessageDialog
It is getting replaced by GtkAlertDialog This commit only moves the header to deprecated/, and keeps the implementation in gtk/, since it will eventually be salvaged into a private, dialog-free widget.
Diffstat (limited to 'tests')
-rw-r--r--tests/testfilechooser.c2
-rw-r--r--tests/testvolumebutton.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index c06f636884..65f15e49d6 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -35,6 +35,8 @@
# endif
#endif
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
#if 0
static GtkWidget *preview_label;
static GtkWidget *preview_image;
diff --git a/tests/testvolumebutton.c b/tests/testvolumebutton.c
index 0291d3d7b4..982d5c285d 100644
--- a/tests/testvolumebutton.c
+++ b/tests/testvolumebutton.c
@@ -17,6 +17,8 @@
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
value_changed (GtkWidget *button,
double volume,