From 7950d6a0c6efd6c4d48afd99c138f38952bdd1bb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 21 Apr 2012 14:52:23 -0400 Subject: Adapt to libedataserver[ui] changes. --- plugins/pst-import/pst-importer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/pst-import/pst-importer.c') diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c index e86fa2ab81..abea9be61d 100644 --- a/plugins/pst-import/pst-importer.c +++ b/plugins/pst-import/pst-importer.c @@ -666,7 +666,7 @@ open_client (PstImporter *m, combo = g_datalist_get_data (&m->target->data, get_source_combo_key (source_type)); g_return_if_fail (combo != NULL); - source = e_source_combo_box_get_active (combo); + source = e_source_combo_box_ref_active (combo); g_return_if_fail (source != NULL); m->waiting_open++; @@ -675,6 +675,8 @@ open_client (PstImporter *m, source, source_type, FALSE, m->cancellable, e_client_utils_authenticate_handler, NULL, client_opened_cb, m); + + g_object_unref (source); } static void -- cgit v1.2.3