main_window_view_show_map_cb (GtkCheckMenuItem *item,
EmpathyMainWindow *window)
{
- empathy_map_view_show (window->list_store);
+ empathy_map_view_show ();
}
#endif
// 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;
GtkWidget *embed;
gchar *filename;
GtkTreeModel *model;
+ EmpathyContactList *list_iface;
+ EmpathyContactListStore *list_store;
/*
if (window)
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 */