flatpak_installation_update_appstream_sync: Remove dead code

tingping/wmclass
Alexander Larsson 2016-11-11 11:07:05 +01:00
parent b61259dc79
commit 63842a1247
1 changed files with 0 additions and 3 deletions

View File

@ -1612,9 +1612,6 @@ flatpak_installation_update_appstream_sync (FlatpakInstallation *self,
if (!flatpak_dir_ensure_repo (dir_clone, cancellable, error))
return FALSE;
if (main_context)
g_main_context_pop_thread_default (main_context);
/* Work around ostree-pull spinning the default main context for the sync calls */
main_context = g_main_context_new ();
g_main_context_push_thread_default (main_context);