summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-07-18 05:10:39 +0200
committerBenjamin Otte <otte@redhat.com>2015-07-18 05:18:19 +0200
commit1ec7f435d814fd15ee1d8b80b547b6abdf57fa54 (patch)
treea5f886d99b30b3d66022360c705367fc0b9e4389 /gtk/gtkcombobox.c
parentc27b90cc79fdb0a5086055161ea3f0882fae30b0 (diff)
downloadgtk+-1ec7f435d814fd15ee1d8b80b547b6abdf57fa54.tar.gz
combobox: Remove unused argument from private function
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index f9c7ba86e4..70924fe5e6 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -385,8 +385,7 @@ static void gtk_combo_box_list_row_changed (GtkTreeModel *model,
static void gtk_combo_box_list_popup_resize (GtkComboBox *combo_box);
/* menu */
-static void gtk_combo_box_menu_setup (GtkComboBox *combo_box,
- gboolean add_children);
+static void gtk_combo_box_menu_setup (GtkComboBox *combo_box);
static void gtk_combo_box_update_title (GtkComboBox *combo_box);
static void gtk_combo_box_menu_destroy (GtkComboBox *combo_box);
@@ -1484,7 +1483,7 @@ gtk_combo_box_check_appearance (GtkComboBox *combo_box)
/* Create the menu mode widgets, if they don't already exist. */
if (!GTK_IS_MENU (priv->popup_widget))
- gtk_combo_box_menu_setup (combo_box, TRUE);
+ gtk_combo_box_menu_setup (combo_box);
}
gtk_widget_style_get (GTK_WIDGET (combo_box),
@@ -1650,7 +1649,7 @@ gtk_combo_box_remove (GtkContainer *container,
if (appears_as_list)
gtk_combo_box_list_setup (combo_box);
else
- gtk_combo_box_menu_setup (combo_box, TRUE);
+ gtk_combo_box_menu_setup (combo_box);
if (gtk_tree_row_reference_valid (priv->active_row))
{
@@ -3104,8 +3103,7 @@ gtk_combo_box_header_func (GtkTreeModel *model,
}
static void
-gtk_combo_box_menu_setup (GtkComboBox *combo_box,
- gboolean add_children)
+gtk_combo_box_menu_setup (GtkComboBox *combo_box)
{
GtkComboBoxPrivate *priv = combo_box->priv;
GtkWidget *child;