diff options
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 011fe6a3a0..bce30977ba 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -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, |