diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-07-26 13:57:13 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-07-26 13:57:13 +0800 |
commit | 8386d38a2f8b8186554378d2a3db31d9bc26cb5c (patch) | |
tree | e69a5f81f7e18ab7f5afd0002239461135b741fc /addressbook/gui/component/select-names/e-select-names-bonobo.c | |
parent | 09365bf01c61dd2a28eee92fd332c2b6ca82ce2b (diff) | |
download | gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.gz gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.zst gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.zip |
Fixing a small, stupid mistake; use e_select_names_model_get_textification
2001-07-26 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c: Fixing a
small, stupid mistake; use e_select_names_model_get_textification
for the getter for "text".
svn path=/trunk/; revision=11423
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-bonobo.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c index d2e4ab5b00..25adf13a65 100644 --- a/addressbook/gui/component/select-names/e-select-names-bonobo.c +++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c @@ -70,18 +70,25 @@ entry_get_property_fn (BonoboPropertyBag *bag, void *user_data) { GtkWidget *w; - char *text; w = GTK_WIDGET (user_data); switch (arg_id) { case ENTRY_PROPERTY_ID_TEXT: - BONOBO_ARG_SET_STRING (arg, e_entry_get_text (E_ENTRY (w))); + { + ESelectNamesModel *model; + model = E_SELECT_NAMES_MODEL (gtk_object_get_data (GTK_OBJECT (w), "select_names_model")); + g_assert (model != NULL); + + BONOBO_ARG_SET_STRING (arg, e_select_names_model_get_textification (model)); break; + } case ENTRY_PROPERTY_ID_DESTINATIONS: { ESelectNamesModel *model; + char *text; + model = E_SELECT_NAMES_MODEL (gtk_object_get_data (GTK_OBJECT (w), "select_names_model")); g_assert (model != NULL); |