aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-11 13:04:16 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-11 13:04:16 +0800
commitf7b0969394b4ee0b3c79590404553016e99a189d (patch)
treea61e7109544c3d13eac7c8a8ec0912a090861fad /addressbook
parent39c3675cc6a4e874ccfd3e95b22455c5075d8070 (diff)
downloadgsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar
gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.gz
gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.bz2
gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.lz
gsoc2013-evolution-f7b0969394b4ee0b3c79590404553016e99a189d.tar.xz
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
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/minicard/e-minicard-view.c5
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c5
2 files changed, 4 insertions, 6 deletions
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;
}
}