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 /gtk/gtkfontchooserdialog.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 'gtk/gtkfontchooserdialog.c')
-rw-r--r-- | gtk/gtkfontchooserdialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c index 147cff8bca..5225d2c5b5 100644 --- a/gtk/gtkfontchooserdialog.c +++ b/gtk/gtkfontchooserdialog.c @@ -32,12 +32,14 @@ #include "gtkprivate.h" #include "gtkwidget.h" #include "gtksettings.h" -#include "gtkdialogprivate.h" +#include "deprecated/gtkdialogprivate.h" #include "gtktogglebutton.h" #include "gtkheaderbar.h" #include "gtkactionable.h" #include "gtkeventcontrollerkey.h" +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + typedef struct _GtkFontChooserDialogClass GtkFontChooserDialogClass; struct _GtkFontChooserDialog |