[Xfce4-commits] <midori:master> Drop unused sokoke_combo_box_add_strings

Christian Dywan noreply at xfce.org
Wed Nov 16 02:10:02 CET 2011


Updating branch refs/heads/master
         to 7cf7dea9ee64dfdbd8ca795d61e73480335105c3 (commit)
       from acc556e384d2b4904dce7e26c2d47e6649fa34ef (commit)

commit 7cf7dea9ee64dfdbd8ca795d61e73480335105c3
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Nov 16 00:59:13 2011 +0100

    Drop unused sokoke_combo_box_add_strings

 midori/sokoke.c |   17 -----------------
 midori/sokoke.h |    5 -----
 2 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/midori/sokoke.c b/midori/sokoke.c
index 2c2ee9d..48dc974 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 a589f06..db7aa28 100644
--- a/midori/sokoke.h
+++ b/midori/sokoke.h
@@ -56,11 +56,6 @@ 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);
 


More information about the Xfce4-commits mailing list