@LiquidCake commented on this pull request.


> +                     /* we have to store old/new filename pair inside 
> document data to be able to somehow
+                       pass it to document-save callback that is called 
directly after this one */
+                       plugin_set_document_data_full(geany_plugin, doc, 
new_file_path, g_strdup(old_file_path), g_free);
+               }
+
+               g_free(old_file_name);
+       }
+}
+
+
+static void persistent_temp_files_document_save_cb(GObject *obj, GeanyDocument 
*doc, gpointer user_data)
+{
+       gchar *new_file_path, *old_file_path;
+
+       new_file_path = DOC_FILENAME(doc);
+       old_file_path = plugin_get_document_data(geany_plugin, doc, 
new_file_path);

done

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3911#discussion_r1650149072
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3911/review/2134374...@github.com>

Reply via email to