aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-24 07:18:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-24 08:49:53 +0800
commiteb240691223ac8a2fedcce1445db95a4fd35fb64 (patch)
treeb2ccbea006beeeeed85158ccd6dbfcc151b32ad0 /e-util
parent6feca1bf560b3269555d4f0a890cd192fdaa0f00 (diff)
downloadgsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar.gz
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar.bz2
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar.lz
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar.xz
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.tar.zst
gsoc2013-evolution-eb240691223ac8a2fedcce1445db95a4fd35fb64.zip
Remove e_dialog_append_list_store_text().
Silly function. Do it manually or use a GtkComboBoxText.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-dialog-widgets.c22
-rw-r--r--e-util/e-dialog-widgets.h2
2 files changed, 0 insertions, 24 deletions
diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c
index a8416ecd00..2793141da0 100644
--- a/e-util/e-dialog-widgets.c
+++ b/e-util/e-dialog-widgets.c
@@ -134,25 +134,3 @@ e_dialog_combo_box_get (GtkWidget *widget,
return i;
}
-/**
- * e_dialog_append_list_store_text:
- * @list_store: A #GtkListStore
- * @text_column: A string column ID, where to write @text_value
- * @text_value: A string to be added to the @list_store
- **/
-void
-e_dialog_append_list_store_text (GtkTreeModel *list_store,
- gint text_column,
- const gchar *text_value)
-{
- GtkTreeIter iter;
- GtkListStore *store;
-
- g_return_if_fail (GTK_IS_LIST_STORE (list_store));
- g_return_if_fail (text_column >= 0);
- g_return_if_fail (text_value != NULL);
-
- store = GTK_LIST_STORE (list_store);
- gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter, text_column, text_value, -1);
-}
diff --git a/e-util/e-dialog-widgets.h b/e-util/e-dialog-widgets.h
index 65de4d966a..5b3f650ed2 100644
--- a/e-util/e-dialog-widgets.h
+++ b/e-util/e-dialog-widgets.h
@@ -30,6 +30,4 @@
void e_dialog_combo_box_set (GtkWidget *widget, gint value, const gint *value_map);
gint e_dialog_combo_box_get (GtkWidget *widget, const gint *value_map);
-void e_dialog_append_list_store_text (GtkTreeModel *list_store, gint text_column, const gchar *text_value);
-
#endif