From 7cf7dea9ee64dfdbd8ca795d61e73480335105c3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 16 Nov 2011 00:59:13 +0100 Subject: [PATCH] Drop unused sokoke_combo_box_add_strings --- midori/sokoke.c | 17 ----------------- midori/sokoke.h | 5 ----- 2 files changed, 22 deletions(-) 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);