]> spindle.queued.net Git - midori/commitdiff
Drop unused sokoke_combo_box_add_strings
authorChristian Dywan <christian@twotoasts.de>
Tue, 15 Nov 2011 23:59:13 +0000 (00:59 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 16 Nov 2011 01:08:30 +0000 (02:08 +0100)
midori/sokoke.c
midori/sokoke.h

index 2c2ee9d1fc6bf051ba93a428625981ebe651a4d0..48dc974e36f84e8f1f3321da4701a03118ef1555 100644 (file)
@@ -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 */
index a589f06dd7ecee301d7e86131e937b67420ccf44..db7aa28a91ac6a4cbc49b3a8c2f375b46b42ae41 100644 (file)
@@ -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);