diff options
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.h | 2 |
2 files changed, 4 insertions, 4 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", diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h index d17a8f38a7..b42de48dbc 100644 --- a/addressbook/gui/widgets/e-addressbook-model.h +++ b/addressbook/gui/widgets/e-addressbook-model.h @@ -74,7 +74,7 @@ struct _EAddressbookModelClass { void (*contacts_removed) (EAddressbookModel *model, gpointer id_list); void (*contact_changed) (EAddressbookModel *model, - EContact *contact); + gint index); void (*model_changed) (EAddressbookModel *model); void (*stop_state_changed) (EAddressbookModel *model); void (*backend_died) (EAddressbookModel *model); |