aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-24 06:05:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-24 08:49:52 +0800
commit9d4348036c46232d3cfc728724be8b1d80e1df78 (patch)
treeb6957157dc736399d423c8d890abfe4438cea404 /e-util
parentcfa04689fcf52f407bdbf6a5af8078613ead874b (diff)
downloadgsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar.gz
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar.bz2
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar.lz
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar.xz
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.tar.zst
gsoc2013-evolution-9d4348036c46232d3cfc728724be8b1d80e1df78.zip
Remove e_dialog_editable_set().
Silly function. Use gtk_entry_set_text().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-dialog-widgets.c21
-rw-r--r--e-util/e-dialog-widgets.h1
2 files changed, 0 insertions, 22 deletions
diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c
index 12034f96f2..2b0c20d2c4 100644
--- a/e-util/e-dialog-widgets.c
+++ b/e-util/e-dialog-widgets.c
@@ -70,27 +70,6 @@ index_to_value (const gint *value_map,
}
/**
- * e_dialog_editable_set:
- * @widget: A #GtkEditable widget.
- * @value: String value.
- *
- * Sets the string value inside a #GtkEditable-derived widget.
- **/
-void
-e_dialog_editable_set (GtkWidget *widget,
- const gchar *value)
-{
- gint pos = 0;
-
- g_return_if_fail (GTK_IS_EDITABLE (widget));
-
- gtk_editable_delete_text (GTK_EDITABLE (widget), 0, -1);
-
- if (value)
- gtk_editable_insert_text (GTK_EDITABLE (widget), value, strlen (value), &pos);
-}
-
-/**
* e_dialog_editable_get:
* @widget: A #GtkEditable widget.
*
diff --git a/e-util/e-dialog-widgets.h b/e-util/e-dialog-widgets.h
index 5b2585c62a..60c30e76d8 100644
--- a/e-util/e-dialog-widgets.h
+++ b/e-util/e-dialog-widgets.h
@@ -27,7 +27,6 @@
#include <gtk/gtk.h>
-void e_dialog_editable_set (GtkWidget *widget, const gchar *value);
gchar *e_dialog_editable_get (GtkWidget *widget);
void e_dialog_combo_box_set (GtkWidget *widget, gint value, const gint *value_map);