summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-29 11:31:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-29 13:31:41 -0400
commitf54ab91ff3f25d4e5370810f78c18115d310281c (patch)
tree016c654f4c610c999ba780828d6459b6e6c91c53 /gtk/gtkfilechooserwidget.c
parent66b062a9761ca86130658adb66e929b3c5acb7ba (diff)
downloadgtk+-f54ab91ff3f25d4e5370810f78c18115d310281c.tar.gz
Deprecate GtkFileChooser and implementations
These are being replaced by GtkFileDialog. This commit only moves the headers for GtkFileChooserWidget and GtkFileChooserDialog to deprecated/, and keeps the implementations in gtk/, since they will eventually be salvaged into a private GtkFileChooserWindow.
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r--gtk/gtkfilechooserwidget.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 6b358c7aa0..20a8f4abb2 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -19,7 +19,7 @@
#include "config.h"
-#include "gtkfilechooserwidget.h"
+#include "deprecated/gtkfilechooserwidget.h"
#include "gtkfilechooserwidgetprivate.h"
#include "gtkbitset.h"
@@ -32,10 +32,10 @@
#include "gtkdroptarget.h"
#include "gtkentry.h"
#include "gtkfilechooserprivate.h"
-#include "gtkfilechooserdialog.h"
+#include "deprecated/gtkfilechooserdialog.h"
+#include "deprecated/gtkfilechooser.h"
#include "gtkfilechooserentry.h"
#include "gtkfilechooserutils.h"
-#include "gtkfilechooser.h"
#include "gtkfilesystemmodel.h"
#include "gtkfilethumbnail.h"
#include "gtkgestureclick.h"
@@ -107,6 +107,8 @@
#include <io.h>
#endif
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
/**
* GtkFileChooserWidget:
*
@@ -119,6 +121,8 @@
* # CSS nodes
*
* `GtkFileChooserWidget` has a single CSS node with name filechooser.
+ *
+ * Deprecated: 4.10: Direct use of `GtkFileChooserWidget` is deprecated
*/
/* 150 mseconds of delay */
@@ -7258,6 +7262,8 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *impl)
* `GtkFileChooserDialog`.
*
* Returns: a new `GtkFileChooserWidget`
+ *
+ * Deprecated: 4.10: Direct use of `GtkFileChooserWidget` is deprecated
*/
GtkWidget *
gtk_file_chooser_widget_new (GtkFileChooserAction action)