From 05398b8f1a62ab1980b01b68fca122785e2a198a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 3 Nov 2011 15:12:17 +0100 Subject: filechooserentry: Make the filesystem a construct-only argument This allows simplifications in the code. --- gtk/gtkfilechooserentry.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gtk/gtkfilechooserentry.h') diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index a9c9f8388c..0c812d35aa 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -33,12 +33,11 @@ G_BEGIN_DECLS typedef struct _GtkFileChooserEntry GtkFileChooserEntry; GType _gtk_file_chooser_entry_get_type (void) G_GNUC_CONST; -GtkWidget * _gtk_file_chooser_entry_new (gboolean eat_tab); +GtkWidget * _gtk_file_chooser_entry_new (GtkFileSystem *file_system, + gboolean eat_tab); void _gtk_file_chooser_entry_set_action (GtkFileChooserEntry *chooser_entry, GtkFileChooserAction action); GtkFileChooserAction _gtk_file_chooser_entry_get_action (GtkFileChooserEntry *chooser_entry); -void _gtk_file_chooser_entry_set_file_system (GtkFileChooserEntry *chooser_entry, - GtkFileSystem *file_system); void _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry, GFile *folder); void _gtk_file_chooser_entry_set_file_part (GtkFileChooserEntry *chooser_entry, -- cgit v1.2.1