Don't create a useless .ref file

This serves no purpose.
tingping/wmclass
Matthias Clasen 2015-01-29 21:16:34 -05:00
parent e28eaf1c1d
commit b01a6e3523
1 changed files with 0 additions and 6 deletions

View File

@ -752,7 +752,6 @@ xdg_app_dir_deploy (XdgAppDir *self,
gs_unref_object GFileInfo *file_info = NULL;
gs_unref_object GFile *deploy_base = NULL;
gs_unref_object GFile *checkoutdir = NULL;
gs_unref_object GFile *dotref = NULL;
gs_unref_object GFile *export = NULL;
gs_unref_object GFile *exports = NULL;
@ -833,11 +832,6 @@ xdg_app_dir_deploy (XdgAppDir *self,
cancellable, error))
goto out;
dotref = g_file_get_child (checkoutdir, ".ref");
if (!g_file_replace_contents (dotref, "", 0, NULL, FALSE,
G_FILE_CREATE_NONE, NULL, cancellable, error))
goto out;
is_app = g_str_has_prefix (ref, "app");
exports = xdg_app_dir_get_exports_dir (self);