diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-04-11 13:04:16 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-04-11 13:04:16 +0800 |
commit | f7b0969394b4ee0b3c79590404553016e99a189d (patch) | |
tree | a61e7109544c3d13eac7c8a8ec0912a090861fad | |
parent | 39c3675cc6a4e874ccfd3e95b22455c5075d8070 (diff) | |
download | gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.gz gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.zst gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.zip |
This was setting E_REFLOW(view)->items to NULL too soon. Fixed now.
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.
svn path=/trunk/; revision=2389
-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; } } |