From 23f5773903d64a554d977ae7d0ebbaca73528f1f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 30 Nov 2011 20:53:20 -0600 Subject: Coding style and whitespace cleanup. --- addressbook/gui/contact-list-editor/e-contact-list-model.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/contact-list-editor/e-contact-list-model.c') diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c index 8236bafea4..c81beeecbe 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-model.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c @@ -29,6 +29,10 @@ #include "e-util/e-alert-dialog.h" #include "shell/e-shell.h" +#define E_CONTACT_LIST_MODEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE \ + ((obj), E_TYPE_CONTACT_LIST_MODEL, EContactListModelPrivate)) + static gpointer parent_class; G_DEFINE_TYPE (EContactListModel, e_contact_list_model, GTK_TYPE_TREE_STORE); @@ -111,7 +115,7 @@ e_contact_list_model_class_init (EContactListModelClass *class) static void e_contact_list_model_init (EContactListModel *model) { - model->priv = G_TYPE_INSTANCE_GET_PRIVATE (model, E_TYPE_CONTACT_LIST_MODEL, EContactListModelPrivate); + model->priv = E_CONTACT_LIST_MODEL_GET_PRIVATE (model); model->priv->uids_table = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); model->priv->emails_table = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); -- cgit v1.2.3