From f7b0969394b4ee0b3c79590404553016e99a189d Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 11 Apr 2000 05:04:16 +0000 Subject: This was setting E_REFLOW(view)->items to NULL too soon. Fixed now. 2000-04-11 Christopher James Lahey * addressbook/gui/minicard/e-minicard-view.c: This was setting E_REFLOW(view)->items to NULL too soon. Fixed now. svn path=/trunk/; revision=2389 --- addressbook/gui/widgets/e-minicard-view.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 097d38dbcd..06c308ada8 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -175,7 +175,6 @@ book_view_loaded (EBook *book, EBookStatus status, EBookView *book_view, gpointe static gboolean get_view(EMinicardView *view) { - E_REFLOW(view)->items = NULL; e_book_get_book_view(view->book, view->query, book_view_loaded, view); view->get_view_idle = 0; @@ -199,7 +198,7 @@ e_minicard_view_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) if (view->book) { gtk_object_ref(GTK_OBJECT(view->book)); if (view->get_view_idle == 0) - g_idle_add((GSourceFunc)get_view, view); + view->get_view_idle = g_idle_add((GSourceFunc)get_view, view); } break; case ARG_QUERY: @@ -207,7 +206,7 @@ e_minicard_view_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) g_free(view->query); view->query = g_strdup(GTK_VALUE_STRING (*arg)); if (view->get_view_idle == 0) - g_idle_add((GSourceFunc)get_view, view); + view->get_view_idle = g_idle_add((GSourceFunc)get_view, view); break; } } -- cgit