aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-08 22:02:52 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-08 22:02:52 +0800
commit692862c505567c96c9997ffef131152ba79e111f (patch)
tree89970aa54d05c9bdc469cac5d7284dc5ecdde469 /widgets
parentbce1283eb5a7dce62ad3219ca57591de314da882 (diff)
downloadgsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar.gz
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar.bz2
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar.lz
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar.xz
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.tar.zst
gsoc2013-evolution-692862c505567c96c9997ffef131152ba79e111f.zip
trash e_utf8_gtk function (e_search_bar_get_text): ditto
2003-05-07 JP Rosevear <jpr@ximian.com> * e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk function (e_search_bar_get_text): ditto svn path=/trunk/; revision=21129
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 75d7d5c123..f619912eb9 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-07 JP Rosevear <jpr@ximian.com>
+
+ * e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk function
+ (e_search_bar_get_text): ditto
+
2003-04-29 Dan Winship <danw@ximian.com>
* e-dateedit.c (e_date_edit_forall): Remove this so that
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 8d8767a7fb..ff0792673e 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -1220,7 +1220,7 @@ e_search_bar_set_text (ESearchBar *search_bar, const char *text)
{
g_return_if_fail (E_IS_SEARCH_BAR (search_bar));
- e_utf8_gtk_editable_set_text (GTK_EDITABLE (search_bar->entry), text);
+ gtk_entry_set_text (GTK_ENTRY (search_bar->entry), text);
}
/**
@@ -1239,5 +1239,5 @@ e_search_bar_get_text (ESearchBar *search_bar)
g_return_val_if_fail (search_bar != NULL, NULL);
g_return_val_if_fail (E_IS_SEARCH_BAR (search_bar), NULL);
- return search_bar->subitem_id < 0 ? e_utf8_gtk_editable_get_text (GTK_EDITABLE (search_bar->entry)) : NULL;
+ return search_bar->subitem_id < 0 ? g_strdup (gtk_entry_get_text (GTK_ENTRY (search_bar->entry))) : NULL;
}