aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-18 03:02:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-18 03:02:03 +0800
commitec790f576119e171ba9b77dd6f7bfcf7a42ebeb1 (patch)
treee584d3de2d6957fefc68112446fd0364b34487d8 /addressbook/gui/widgets/e-addressbook-model.c
parentda665f8f99e778263d0a411def22830b2bcaa647 (diff)
downloadgsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar.gz
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar.bz2
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar.lz
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar.xz
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.tar.zst
gsoc2013-evolution-ec790f576119e171ba9b77dd6f7bfcf7a42ebeb1.zip
Bug 579702 – Contact changes not shown until restart
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index b68763c805..7ae371d411 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -250,7 +250,7 @@ modify_contact(EBookView *book_view,
array->pdata[ii] = contact;
g_signal_emit (
- model, signals[CONTACT_CHANGED], 0, contact);
+ model, signals[CONTACT_CHANGED], 0, ii);
break;
}
@@ -607,8 +607,8 @@ addressbook_model_class_init (EAddressbookModelClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EAddressbookModelClass, contact_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__OBJECT,
- G_TYPE_NONE, 1, E_TYPE_CONTACT);
+ g_cclosure_marshal_VOID__INT,
+ G_TYPE_NONE, 1, G_TYPE_INT);
signals[MODEL_CHANGED] =
g_signal_new ("model_changed",