[gedit] File choosers: add _gedit_file_chooser_get_gtk_file_chooser()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] File choosers: add _gedit_file_chooser_get_gtk_file_chooser()
- Date: Sat, 13 Jun 2020 21:04:57 +0000 (UTC)
commit a84d9d16f786a147e06832a937c40c635e0e707a
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Jun 11 18:45:08 2020 +0200
File choosers: add _gedit_file_chooser_get_gtk_file_chooser()
gedit/gedit-file-chooser.c | 7 +++++++
gedit/gedit-file-chooser.h | 3 +++
2 files changed, 10 insertions(+)
---
diff --git a/gedit/gedit-file-chooser.c b/gedit/gedit-file-chooser.c
index 93a9f83de..18d559aa8 100644
--- a/gedit/gedit-file-chooser.c
+++ b/gedit/gedit-file-chooser.c
@@ -596,3 +596,10 @@ _gedit_file_chooser_set_gtk_file_chooser (GeditFileChooser *chooser,
setup_filters (chooser);
}
+
+GtkFileChooser *
+_gedit_file_chooser_get_gtk_file_chooser (GeditFileChooser *chooser)
+{
+ g_return_val_if_fail (GEDIT_IS_FILE_CHOOSER (chooser), NULL);
+ return chooser->priv->gtk_chooser;
+}
diff --git a/gedit/gedit-file-chooser.h b/gedit/gedit-file-chooser.h
index 2d3ed5f75..1ae68736a 100644
--- a/gedit/gedit-file-chooser.h
+++ b/gedit/gedit-file-chooser.h
@@ -57,6 +57,9 @@ G_GNUC_INTERNAL
void _gedit_file_chooser_set_gtk_file_chooser (GeditFileChooser *chooser,
GtkFileChooser *gtk_chooser);
+G_GNUC_INTERNAL
+GtkFileChooser * _gedit_file_chooser_get_gtk_file_chooser (GeditFileChooser *chooser);
+
G_END_DECLS
#endif /* GEDIT_FILE_CHOOSER_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]