diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-03 21:54:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-03 23:02:09 -0400 |
commit | a527a4d82ede02019b30626a89ca9775da22d382 (patch) | |
tree | a2e3db830c2f39fd157fa3c8699dd2d01e5e194a /tests | |
parent | adfc29968a92bd90e1fe7c8103a92972c46555ff (diff) | |
download | gtk+-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.c | 2 | ||||
-rw-r--r-- | tests/testappchooserbutton.c | 2 |
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; |