summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-03 21:54:57 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-03 23:02:09 -0400
commita527a4d82ede02019b30626a89ca9775da22d382 (patch)
treea2e3db830c2f39fd157fa3c8699dd2d01e5e194a /tests
parentadfc29968a92bd90e1fe7c8103a92972c46555ff (diff)
downloadgtk+-a527a4d82ede02019b30626a89ca9775da22d382.tar.gz
Deprecate the app chooser widgets
These are a family of pretty specialized widgets, and are very rarely used. Instead of porting them away from GtkTreeView and GtkComboBox, deprecate them.
Diffstat (limited to 'tests')
-rw-r--r--tests/testappchooser.c2
-rw-r--r--tests/testappchooserbutton.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/testappchooser.c b/tests/testappchooser.c
index a3418dd34b..09a856d561 100644
--- a/tests/testappchooser.c
+++ b/tests/testappchooser.c
@@ -21,6 +21,8 @@
#include <stdlib.h>
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static GtkWidget *toplevel;
static GFile *file;
static GtkWidget *grid, *file_l, *open;
diff --git a/tests/testappchooserbutton.c b/tests/testappchooserbutton.c
index 9024b51dfa..1ffc062d4a 100644
--- a/tests/testappchooserbutton.c
+++ b/tests/testappchooserbutton.c
@@ -21,6 +21,8 @@
#include <stdlib.h>
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
#define CUSTOM_ITEM "custom-item"
static GtkWidget *toplevel, *button, *box;