diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-04-08 05:41:23 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-28 00:52:05 +0800 |
commit | 4152e6dc08ea55434558e4b0105ec1df3628c4f8 (patch) | |
tree | 6178507c20c7e5981cccc15fbf4d0c11373f6d54 /src/empathy-map-view.c | |
parent | 43680e9c8613024a9d92c03b2e937d8bcbc8e22b (diff) | |
download | gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar.gz gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar.bz2 gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar.lz gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar.xz gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.tar.zst gsoc2013-empathy-4152e6dc08ea55434558e4b0105ec1df3628c4f8.zip |
Use its own ListStore of contacts instead of borrowing the Contact
List's
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r-- | src/empathy-map-view.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c index a0ca3f5b5..dd9f00f2a 100644 --- a/src/empathy-map-view.c +++ b/src/empathy-map-view.c @@ -89,7 +89,7 @@ static gchar * get_dup_string (GHashTable *location, gchar *key); // FIXME: Make it so that only one window can be shown GtkWidget * -empathy_map_view_show (EmpathyContactListStore *list_store) +empathy_map_view_show () { static EmpathyMapView *window = NULL; GtkBuilder *gui; @@ -97,6 +97,8 @@ empathy_map_view_show (EmpathyContactListStore *list_store) GtkWidget *embed; gchar *filename; GtkTreeModel *model; + EmpathyContactList *list_iface; + EmpathyContactListStore *list_store; /* if (window) @@ -121,6 +123,10 @@ empathy_map_view_show (EmpathyContactListStore *list_store) g_object_unref (gui); + list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_dup_singleton ()); + list_store = empathy_contact_list_store_new (list_iface); + g_object_unref (list_iface); + window->list_store = list_store; /* Set up map view */ |