aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-20 13:02:35 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-20 13:02:35 +0800
commit2421bfffad64767916d965d9d19b06be1f5e3831 (patch)
treebc0b6391a2e0250571eedc2dd6e001174939b9d6 /addressbook
parent86061c474bf60aea3fa03d65033ea277fc7e99ce (diff)
downloadgsoc2013-evolution-2421bfffad64767916d965d9d19b06be1f5e3831.tar.gz
gsoc2013-evolution-2421bfffad64767916d965d9d19b06be1f5e3831.tar.zst
gsoc2013-evolution-2421bfffad64767916d965d9d19b06be1f5e3831.zip
Fixed display of the minicards when the addressbook was first loading. (It
2000-09-20 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/e-addressbook-view.c: Fixed display of the minicards when the addressbook was first loading. (It was overwriting a string with NULL during init.) svn path=/trunk/; revision=5517
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9522962c2c..0c9be6aa90 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-20 Christopher James Lahey <clahey@helixcode.com>
+
+ * gui/widgets/e-addressbook-view.c: Fixed display of the minicards
+ when the addressbook was first loading. (It was overwriting a
+ string with NULL during init.)
+
2000-09-19 Dan Winship <danw@helixcode.com>
* gui/search/Makefile.am (ruledir): Use $(datadir), not
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index dfbcbaca2d..9bcd4b2827 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -116,11 +116,10 @@ e_addressbook_view_class_init (EAddressbookViewClass *klass)
static void
e_addressbook_view_init (EAddressbookView *eav)
{
- eav->query = g_strdup("(contains \"x-evolution-any-field\" \"\")");
eav->view_type = E_ADDRESSBOOK_VIEW_NONE;
eav->book = NULL;
- eav->query = NULL;
+ eav->query = g_strdup("(contains \"x-evolution-any-field\" \"\")");
eav->object = NULL;
eav->widget = NULL;
@@ -156,7 +155,7 @@ e_addressbook_view_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
if (eav->book)
gtk_object_unref(GTK_OBJECT(eav->book));
if (GTK_VALUE_OBJECT(*arg)) {
- eav->book = E_BOOK(GTK_VALUE_OBJECT(*arg));
+ eav->book = E_BOOK(GTK_VALUE_OBJECT(*arg));
gtk_object_ref(GTK_OBJECT(eav->book));
}
else