mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Remove remnants of filechooser backend property
This commit is contained in:
parent
78079e04d6
commit
f08d244c05
@ -765,12 +765,6 @@ gtk_file_chooser_class_init (gpointer g_iface)
|
|||||||
GTK_TYPE_FILE_CHOOSER_ACTION,
|
GTK_TYPE_FILE_CHOOSER_ACTION,
|
||||||
GTK_FILE_CHOOSER_ACTION_OPEN,
|
GTK_FILE_CHOOSER_ACTION_OPEN,
|
||||||
GTK_PARAM_READWRITE));
|
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_object_interface_install_property (g_iface,
|
||||||
g_param_spec_object ("filter",
|
g_param_spec_object ("filter",
|
||||||
P_("Filter"),
|
P_("Filter"),
|
||||||
|
@ -272,7 +272,6 @@ gtk_file_chooser_dialog_constructor (GType type,
|
|||||||
|
|
||||||
if (priv->file_system)
|
if (priv->file_system)
|
||||||
priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET,
|
priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET,
|
||||||
"file-system-backend", priv->file_system,
|
|
||||||
NULL);
|
NULL);
|
||||||
else
|
else
|
||||||
priv->widget = g_object_new (GTK_TYPE_FILE_CHOOSER_WIDGET, NULL);
|
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,
|
gtk_file_chooser_dialog_new_valist (const gchar *title,
|
||||||
GtkWindow *parent,
|
GtkWindow *parent,
|
||||||
GtkFileChooserAction action,
|
GtkFileChooserAction action,
|
||||||
const gchar *backend,
|
|
||||||
const gchar *first_button_text,
|
const gchar *first_button_text,
|
||||||
va_list varargs)
|
va_list varargs)
|
||||||
{
|
{
|
||||||
@ -457,7 +455,7 @@ gtk_file_chooser_dialog_new (const gchar *title,
|
|||||||
|
|
||||||
va_start (varargs, first_button_text);
|
va_start (varargs, first_button_text);
|
||||||
result = gtk_file_chooser_dialog_new_valist (title, parent, action,
|
result = gtk_file_chooser_dialog_new_valist (title, parent, action,
|
||||||
NULL, first_button_text,
|
first_button_text,
|
||||||
varargs);
|
varargs);
|
||||||
va_end (varargs);
|
va_end (varargs);
|
||||||
|
|
||||||
|
@ -31,10 +31,9 @@ G_BEGIN_DECLS
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
|
GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
|
||||||
GTK_FILE_CHOOSER_PROP_ACTION = GTK_FILE_CHOOSER_PROP_FIRST,
|
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_FILTER,
|
||||||
GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
|
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_PREVIEW_WIDGET_ACTIVE,
|
||||||
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
|
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
|
||||||
GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
|
GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
|
||||||
|
Loading…
Reference in New Issue
Block a user