[tepl] File saving: call tepl_tab_save_async_simple() in win.tepl-save GAction



commit 70110522b54019ca91959b1f1b3136bd74c251d5
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Oct 29 14:28:50 2017 +0100

    File saving: call tepl_tab_save_async_simple() in win.tepl-save GAction

 tepl/tepl-application-window.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/tepl/tepl-application-window.c b/tepl/tepl-application-window.c
index a92f9ac..4774483 100644
--- a/tepl/tepl-application-window.c
+++ b/tepl/tepl-application-window.c
@@ -220,11 +220,7 @@ save_cb (GSimpleAction *save_action,
 
        if (location != NULL)
        {
-               TeplFileSaver *saver;
-
-               saver = tepl_file_saver_new (buffer, file);
-               _tepl_tab_saving_save_async_simple (tab, saver);
-               g_object_unref (saver);
+               tepl_tab_save_async_simple (tab);
        }
        else
        {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]