[gtk] filechooserwidget: Remove unused function parameter
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] filechooserwidget: Remove unused function parameter
- Date: Tue, 22 Oct 2019 07:54:45 +0000 (UTC)
commit 6b07ce2b13c950437292011ef579e74ad01069d8
Author: Timm Bäder <mail baedert org>
Date: Sun Oct 20 13:03:52 2019 +0200
filechooserwidget: Remove unused function parameter
gtk/gtkfilechooserwidget.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 2278c7e656..44056ec039 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2949,8 +2949,7 @@ set_local_only (GtkFileChooserWidget *impl,
/* Sets the file chooser to multiple selection mode */
static void
set_select_multiple (GtkFileChooserWidget *impl,
- gboolean select_multiple,
- gboolean property_notify)
+ gboolean select_multiple)
{
GtkFileChooserWidgetPrivate *priv = gtk_file_chooser_widget_get_instance_private (impl);
GtkTreeSelection *selection;
@@ -3232,7 +3231,7 @@ update_appearance (GtkFileChooserWidget *impl)
{
g_warning ("Save mode cannot be set in conjunction with multiple selection mode. "
"Re-setting to single selection mode.");
- set_select_multiple (impl, FALSE, TRUE);
+ set_select_multiple (impl, FALSE);
}
}
@@ -3368,7 +3367,7 @@ gtk_file_chooser_widget_set_property (GObject *object,
g_warning ("Tried to change the file chooser action to SAVE or CREATE_FOLDER, but "
"this is not allowed in multiple selection mode. Resetting the file chooser "
"to single selection mode.");
- set_select_multiple (impl, FALSE, TRUE);
+ set_select_multiple (impl, FALSE);
}
priv->action = action;
update_cell_renderer_attributes (impl);
@@ -3417,7 +3416,7 @@ gtk_file_chooser_widget_set_property (GObject *object,
return;
}
- set_select_multiple (impl, select_multiple, FALSE);
+ set_select_multiple (impl, select_multiple);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]