From 1ec7f435d814fd15ee1d8b80b547b6abdf57fa54 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 18 Jul 2015 05:10:39 +0200 Subject: [PATCH] combobox: Remove unused argument from private function --- gtk/gtkcombobox.c | 10 ++++------ 1 file 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;