diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-04-16 10:49:07 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-04-16 10:49:07 +0800 |
commit | e1a2f6999ae81f87585f84bbe25a609bf52b9d6b (patch) | |
tree | 09422b53aa1f4aedb6b54bd32e6702d53f86266e /widgets/misc/e-search-bar.h | |
parent | bf3357b91ec240f3d325df8d9e9ffea98c796ea8 (diff) | |
download | gsoc2013-evolution-e1a2f6999ae81f87585f84bbe25a609bf52b9d6b.tar.gz gsoc2013-evolution-e1a2f6999ae81f87585f84bbe25a609bf52b9d6b.tar.zst gsoc2013-evolution-e1a2f6999ae81f87585f84bbe25a609bf52b9d6b.zip |
New function, because it is ridiculous to have to hunt down object
2001-04-15 Federico Mena Quintero <federico@ximian.com>
* e-search-bar.c (e_search_bar_get_option_choice): New function,
because it is ridiculous to have to hunt down object arguments to
fetch values.
(e_search_bar_get_text): Likewise.
(impl_get_arg): Use the functions above so that we have to
maintain only one version of the getters.
svn path=/trunk/; revision=9339
Diffstat (limited to 'widgets/misc/e-search-bar.h')
-rw-r--r-- | widgets/misc/e-search-bar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h index 254bdc09e7..8b262a0f4f 100644 --- a/widgets/misc/e-search-bar.h +++ b/widgets/misc/e-search-bar.h @@ -94,6 +94,9 @@ GtkWidget *e_search_bar_new (ESearchBarItem *menu_items, void e_search_bar_set_menu_sensitive(ESearchBar *search_bar, int id, gboolean state); +int e_search_bar_get_option_choice (ESearchBar *search_bar); +char *e_search_bar_get_text (ESearchBar *search_bar); + #ifdef __cplusplus } #endif /* __cplusplus */ |