diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-23 08:32:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-23 08:57:46 -0400 |
commit | 6f46e95c754c71dc7051714925bdd312b6b6a62d (patch) | |
tree | d9a4124dea2b23efb05aa89c3418a9fbaaccdc7d /demos/gtk-demo/dialog.c | |
parent | 799fb41937950e32cace797c142ac66e290b192b (diff) | |
download | gtk+-deprecate-gtkdialog.tar.gz |
Deprecate GtkDialogdeprecate-gtkdialog
GtkDialog API is archaic and over-complicated.
What is needed for dialogs can typically achieved
more easily by adding buttons directly to a window.
Diffstat (limited to 'demos/gtk-demo/dialog.c')
-rw-r--r-- | demos/gtk-demo/dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c index 3b355fef3e..b5a709ad38 100644 --- a/demos/gtk-demo/dialog.c +++ b/demos/gtk-demo/dialog.c @@ -8,6 +8,8 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static GtkWidget *window = NULL; static GtkWidget *entry1 = NULL; static GtkWidget *entry2 = NULL; |