diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-24 06:57:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-12-24 08:49:53 +0800 |
commit | 6feca1bf560b3269555d4f0a890cd192fdaa0f00 (patch) | |
tree | dd77b59b48d803fc095b9ea86dc02dbbd152e0db /e-util/e-dialog-widgets.c | |
parent | 9d4348036c46232d3cfc728724be8b1d80e1df78 (diff) | |
download | gsoc2013-evolution-6feca1bf560b3269555d4f0a890cd192fdaa0f00.tar.gz gsoc2013-evolution-6feca1bf560b3269555d4f0a890cd192fdaa0f00.tar.zst gsoc2013-evolution-6feca1bf560b3269555d4f0a890cd192fdaa0f00.zip |
Remove e_dialog_editable_get().
Silly function. Use gtk_entry_get_text() for a const string or else
gtk_editable_get_chars() for an allocated string.
Diffstat (limited to 'e-util/e-dialog-widgets.c')
-rw-r--r-- | e-util/e-dialog-widgets.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c index 2b0c20d2c4..a8416ecd00 100644 --- a/e-util/e-dialog-widgets.c +++ b/e-util/e-dialog-widgets.c @@ -70,24 +70,6 @@ index_to_value (const gint *value_map, } /** - * e_dialog_editable_get: - * @widget: A #GtkEditable widget. - * - * Queries the string value inside a #GtkEditable-derived widget. - * - * Return value: String value. You should free it when you are done with it. - * This function can return NULL if the string could not be converted from - * GTK+'s encoding into UTF8. - **/ -gchar * -e_dialog_editable_get (GtkWidget *widget) -{ - g_return_val_if_fail (GTK_IS_EDITABLE (widget), NULL); - - return gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1); -} - -/** * e_dialog_combo_box_set: * @widget: A #GtkComboBox. * @value: Enumerated value. |