[gedit/zbrown/deteplification-src: 385/633] FileChooserOpenAdapter: class description




commit d490a7499eb982083a7a08518a98ce0528f2a986
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 6 22:27:39 2020 +0200

    FileChooserOpenAdapter: class description

 gedit/gedit-file-chooser-open-adapter.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gedit/gedit-file-chooser-open-adapter.c b/gedit/gedit-file-chooser-open-adapter.c
index 56ea0fc06..3e3480339 100644
--- a/gedit/gedit-file-chooser-open-adapter.c
+++ b/gedit/gedit-file-chooser-open-adapter.c
@@ -21,6 +21,17 @@
 #include <glib/gi18n.h>
 #include "gedit-file-chooser-dialog.h"
 
+/* This file implements the gedit-file-chooser-open.h C interface by using a
+ * GeditFileChooserDialog. It's an adapter to be able to use
+ * GeditFileChooserDialog through the newer GeditFileChooserOpen interface.
+ *
+ * The goal is to port gedit gradually to GtkFileChooserNative, to get rid of
+ * GeditFileChooserDialog.
+ *
+ * When gedit-file-chooser-open.c is fully implemented, we can toggle to it,
+ * just removing this file and build the other one instead.
+ */
+
 struct _GeditFileChooserOpenPrivate
 {
        GeditFileChooserDialog *dialog;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]