@techee commented on this pull request.


> +
+
+static void show_unsaved_dialog_for_persistent_temp_files_tab_closing(
+       GeanyDocument *doc, const gchar *short_filename)
+{
+       gchar *msg, *old_file_path, *locale_file_path;
+       const gchar *msg2;
+       gint response;
+
+       msg = g_strdup_printf(_("The file '%s' is not saved."), short_filename);
+       msg2 = _("Do you want to save it before closing?");
+
+       response = 
run_unsaved_dialog_for_persistent_temp_files_tab_closing(msg, msg2);
+       g_free(msg);
+
+       locale_file_path = g_strdup(doc->real_path);

You're right, I missed that.

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

Message ID: <geany/geany/pull/3911/review/[email protected]>

Reply via email to