Move GtkFileChooserWidgetPrivate to gtkfilechooserwidget.c

In addition, remove the unused "file_system" field from that
structure.
This commit is contained in:
Federico Mena Quintero 2013-04-11 20:50:57 -05:00
parent 70fce923bc
commit e2c9797994
2 changed files with 4 additions and 23 deletions

View File

@ -102,16 +102,6 @@ gboolean _gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *cho
GError **error);
GSList * _gtk_file_chooser_list_shortcut_folder_files (GtkFileChooser *chooser);
/* GtkFileChooserWidget private */
struct _GtkFileChooserWidgetPrivate
{
GtkWidget *impl;
char *file_system;
};
/* GtkFileChooserDefault private */
typedef enum {

View File

@ -45,11 +45,13 @@
* #GtkFileChooser.
*/
struct _GtkFileChooserWidgetPrivate
{
GtkWidget *impl;
};
#define GTK_FILE_CHOOSER_WIDGET_GET_PRIVATE(o) (GTK_FILE_CHOOSER_WIDGET (o)->priv)
static void gtk_file_chooser_widget_finalize (GObject *object);
static GObject* gtk_file_chooser_widget_constructor (GType type,
guint n_construct_properties,
GObjectConstructParam *construct_params);
@ -76,7 +78,6 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
gobject_class->constructor = gtk_file_chooser_widget_constructor;
gobject_class->set_property = gtk_file_chooser_widget_set_property;
gobject_class->get_property = gtk_file_chooser_widget_get_property;
gobject_class->finalize = gtk_file_chooser_widget_finalize;
_gtk_file_chooser_install_properties (gobject_class);
@ -94,16 +95,6 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *chooser_widget)
GTK_ORIENTATION_VERTICAL);
}
static void
gtk_file_chooser_widget_finalize (GObject *object)
{
GtkFileChooserWidget *chooser = GTK_FILE_CHOOSER_WIDGET (object);
g_free (chooser->priv->file_system);
G_OBJECT_CLASS (gtk_file_chooser_widget_parent_class)->finalize (object);
}
static GObject*
gtk_file_chooser_widget_constructor (GType type,
guint n_construct_properties,