From: Christian Dywan Date: Tue, 15 Nov 2011 23:59:13 +0000 (+0100) Subject: Drop unused sokoke_combo_box_add_strings X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cf7dea9ee64dfdbd8ca795d61e73480335105c3;p=midori Drop unused sokoke_combo_box_add_strings --- diff --git a/midori/sokoke.c b/midori/sokoke.c index 2c2ee9d1..48dc974e 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -703,23 +703,6 @@ sokoke_magic_uri (const gchar* uri) return NULL; } -void -sokoke_combo_box_add_strings (GtkComboBox* combobox, - const gchar* label_first, ...) -{ - const gchar* label; - - /* Add a number of strings to a combobox, terminated with NULL - This works only for text comboboxes */ - va_list args; - va_start (args, label_first); - - for (label = label_first; label; label = va_arg (args, const gchar*)) - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combobox), label); - - va_end (args); -} - void sokoke_widget_set_visible (GtkWidget* widget, gboolean visible) { /* Show or hide the widget */ diff --git a/midori/sokoke.h b/midori/sokoke.h index a589f06d..db7aa28a 100644 --- a/midori/sokoke.h +++ b/midori/sokoke.h @@ -55,11 +55,6 @@ sokoke_external_uri (const gchar* uri); gchar* sokoke_magic_uri (const gchar* uri); -void -sokoke_combo_box_add_strings (GtkComboBox* combobox, - const gchar* label_first, - ...); - void sokoke_widget_set_visible (GtkWidget* widget, gboolean visible);