forked from AuroraMiddleware/gtk
filechooser: Drop gtk_file_chooser_[un]select_file
Most use cases for these apis can be handled with gtk_file_chooser_set_file and/or gtk_file_chooser_set_current_folder.
This commit is contained in:
parent
2321e9de05
commit
dcee15c0f1
@ -1300,8 +1300,6 @@ gtk_file_chooser_get_current_name
|
|||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
gtk_file_chooser_get_file
|
gtk_file_chooser_get_file
|
||||||
gtk_file_chooser_set_file
|
gtk_file_chooser_set_file
|
||||||
gtk_file_chooser_select_file
|
|
||||||
gtk_file_chooser_unselect_file
|
|
||||||
gtk_file_chooser_get_files
|
gtk_file_chooser_get_files
|
||||||
gtk_file_chooser_set_current_folder
|
gtk_file_chooser_set_current_folder
|
||||||
gtk_file_chooser_get_current_folder
|
gtk_file_chooser_get_current_folder
|
||||||
|
@ -121,13 +121,6 @@ gboolean gtk_file_chooser_set_file (GtkFileChooser *chooser,
|
|||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_select_file (GtkFileChooser *chooser,
|
|
||||||
GFile *file,
|
|
||||||
GError **error);
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
|
||||||
void gtk_file_chooser_unselect_file (GtkFileChooser *chooser,
|
|
||||||
GFile *file);
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
|
||||||
GSList * gtk_file_chooser_get_files (GtkFileChooser *chooser);
|
GSList * gtk_file_chooser_get_files (GtkFileChooser *chooser);
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
|
||||||
|
@ -113,7 +113,11 @@ GtkFileSystem *_gtk_file_chooser_get_file_system (GtkFileChooser *cho
|
|||||||
|
|
||||||
void gtk_file_chooser_select_all (GtkFileChooser *chooser);
|
void gtk_file_chooser_select_all (GtkFileChooser *chooser);
|
||||||
void gtk_file_chooser_unselect_all (GtkFileChooser *chooser);
|
void gtk_file_chooser_unselect_all (GtkFileChooser *chooser);
|
||||||
|
gboolean gtk_file_chooser_select_file (GtkFileChooser *chooser,
|
||||||
|
GFile *file,
|
||||||
|
GError **error);
|
||||||
|
void gtk_file_chooser_unselect_file (GtkFileChooser *chooser,
|
||||||
|
GFile *file);
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_FILE_CHOOSER_PRIVATE_H__ */
|
#endif /* __GTK_FILE_CHOOSER_PRIVATE_H__ */
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "gtksignallistitemfactory.h"
|
#include "gtksignallistitemfactory.h"
|
||||||
#include "gtkentry.h"
|
#include "gtkentry.h"
|
||||||
#include "gtkfilechooserdialog.h"
|
#include "gtkfilechooserdialog.h"
|
||||||
|
#include "gtkfilechooserprivate.h"
|
||||||
#include "gtkimage.h"
|
#include "gtkimage.h"
|
||||||
#include "gtklabel.h"
|
#include "gtklabel.h"
|
||||||
#include "gtkliststore.h"
|
#include "gtkliststore.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user