diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-29 13:53:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-29 15:27:53 -0400 |
commit | 9948053cd7e43e09cdcc3942c08d33fc6dc58c62 (patch) | |
tree | 13567c05eb01624e8833b0b728030f952edfb9dd /tests | |
parent | f1af8046d0dc225dac57b7762d3216267afa67f2 (diff) | |
download | gtk+-9948053cd7e43e09cdcc3942c08d33fc6dc58c62.tar.gz |
Deprecate GtkDialog
GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testlockbutton.c | 2 | ||||
-rw-r--r-- | tests/testwindowsize.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/testlockbutton.c b/tests/testlockbutton.c index ff7599b65f..88665bc3b8 100644 --- a/tests/testlockbutton.c +++ b/tests/testlockbutton.c @@ -19,6 +19,8 @@ #include <gtk/gtk.h> #include <gio/gio.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + /* a fake permission implementation */ #define G_TYPE_TEST_PERMISSION (g_test_permission_get_type ()) diff --git a/tests/testwindowsize.c b/tests/testwindowsize.c index f61669b204..f280ba2158 100644 --- a/tests/testwindowsize.c +++ b/tests/testwindowsize.c @@ -1,6 +1,8 @@ /* gcc -g -Wall -O2 -o dialog-test dialog-test.c `pkg-config --cflags --libs gtk4` */ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static GtkWidget *window; static GtkWidget *width_chars_spin; static GtkWidget *max_width_chars_spin; |