aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-model.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-06-09 06:11:48 +0800
committerChris Toshok <toshok@src.gnome.org>2004-06-09 06:11:48 +0800
commit5ce3f210b969c3e0ab6020911a6bb4b887e46d0a (patch)
tree60df09eefbd51a752b1fceb2d955b9e598b3b3ed /addressbook/gui/widgets/e-addressbook-model.h
parent8777dda60dc8b1d00195ec0451aa5f40edc5c2b2 (diff)
downloadgsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar.gz
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar.bz2
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar.lz
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar.xz
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.tar.zst
gsoc2013-evolution-5ce3f210b969c3e0ab6020911a6bb4b887e46d0a.zip
new function. do the get_view in an idle handler.
2004-06-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (get_view_idle): new function. do the get_view in an idle handler. (eab_model_set_property): don't call get_view directly from any setter block. instead just add the idle handler (if it's not already added.) This keeps us from duplicating queries when both "book" and "query" are set using the same g_object_set. svn path=/trunk/; revision=26264
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.h')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h
index 64ce6c3845..e83477ff93 100644
--- a/addressbook/gui/widgets/e-addressbook-model.h
+++ b/addressbook/gui/widgets/e-addressbook-model.h
@@ -24,6 +24,8 @@ struct _EABModel {
EBookQuery *query;
EBookView *book_view;
+ int book_view_idle_id;
+
EContact **data;
int data_count;
int allocated_count;