diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/minicard/e-minicard-view.c | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 5 |
3 files changed, 9 insertions, 6 deletions
@@ -1,3 +1,8 @@ +2000-04-11 Christopher James Lahey <clahey@helixcode.com> + + * addressbook/gui/minicard/e-minicard-view.c: This was setting + E_REFLOW(view)->items to NULL too soon. Fixed now. + 2000-04-11 Chris Toshok <toshok@helixcode.com> * addressbook/backend/pas/pas-backend-file.c diff --git a/addressbook/gui/minicard/e-minicard-view.c b/addressbook/gui/minicard/e-minicard-view.c index 097d38dbcd..06c308ada8 100644 --- a/addressbook/gui/minicard/e-minicard-view.c +++ b/addressbook/gui/minicard/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; } } 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; } } |