[gtk+] Remove remnants of filechooser backend property
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove remnants of filechooser backend property
- Date: Tue, 11 May 2010 03:45:45 +0000 (UTC)
commit f08d244c05679b8a54d940cdefc6365fc2174b34
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 10 23:43:49 2010 -0400
Remove remnants of filechooser backend property
gtk/gtkfilechooser.c | 6 ------
gtk/gtkfilechooserdialog.c | 4 +---
gtk/gtkfilechooserutils.h | 3 +--
3 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index c64678a..6bb4c2a 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -766,12 +766,6 @@ gtk_file_chooser_class_init (gpointer g_iface)
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
- g_param_spec_string ("file-system-backend",
- P_("File System Backend"),
- P_("Name of file system backend to use"),
- NULL,
- GTK_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
- g_object_interface_install_property (g_iface,
g_param_spec_object ("filter",
P_("Filter"),
P_("The current filter for selecting which files are displayed"),
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 327b865..0660f27 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -272,7 +272,6 @@ gtk_file_chooser_dialog_constructor (GType type,
if (priv->file_system)
priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET,
- "file-system-backend", priv->file_system,
NULL);
else
priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET, NULL);
@@ -404,7 +403,6 @@ static GtkWidget *
gtk_file_chooser_dialog_new_valist (const gchar *title,
GtkWindow *parent,
GtkFileChooserAction action,
- const gchar *backend,
const gchar *first_button_text,
va_list varargs)
{
@@ -457,7 +455,7 @@ gtk_file_chooser_dialog_new (const gchar *title,
va_start (varargs, first_button_text);
result = gtk_file_chooser_dialog_new_valist (title, parent, action,
- NULL, first_button_text,
+ first_button_text,
varargs);
va_end (varargs);
diff --git a/gtk/gtkfilechooserutils.h b/gtk/gtkfilechooserutils.h
index 2aff406..8b80ab6 100644
--- a/gtk/gtkfilechooserutils.h
+++ b/gtk/gtkfilechooserutils.h
@@ -31,10 +31,9 @@ G_BEGIN_DECLS
typedef enum {
GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
GTK_FILE_CHOOSER_PROP_ACTION = GTK_FILE_CHOOSER_PROP_FIRST,
- /* GTK_FILE_CHOOSER_PROP_FILE_SYSTEM_BACKEND, */
GTK_FILE_CHOOSER_PROP_FILTER,
GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
- GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
+ GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]