gnucash stable: Remove cruft.
John Ralls
jralls at code.gnucash.org
Sun Mar 17 04:05:12 EDT 2024
Updated via https://github.com/Gnucash/gnucash/commit/9a39b3cd (commit)
from https://github.com/Gnucash/gnucash/commit/1a806b4e (commit)
commit 9a39b3cd6966f8d867efed934b6419bfd2ce5a2b
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Mar 17 09:00:32 2024 +0100
Remove cruft.
userdata_migration_message was moved to gnucash-core-app.spp by
c58cfdb 4 years ago and this no-op fragment was left behind.
diff --git a/gnucash/gnucash.cpp b/gnucash/gnucash.cpp
index c07e41f7a3..76feb80073 100644
--- a/gnucash/gnucash.cpp
+++ b/gnucash/gnucash.cpp
@@ -72,7 +72,6 @@ namespace bl = boost::locale;
/* This static indicates the debugging module that this .o belongs to. */
static QofLogModule log_module = GNC_MOD_GUI;
-static gchar *userdata_migration_msg = NULL;
static void
load_gnucash_plugins()
@@ -207,18 +206,6 @@ scm_run_gnucash (void *data, [[maybe_unused]] int argc, [[maybe_unused]] char **
gnc_ui_new_user_dialog();
}
- if (userdata_migration_msg)
- {
- GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
- GTK_MESSAGE_INFO,
- GTK_BUTTONS_OK,
- "%s",
- userdata_migration_msg);
- gnc_destroy_splash_screen();
- gtk_dialog_run(GTK_DIALOG(dialog));
- gtk_widget_destroy (dialog);
- g_free (userdata_migration_msg);
- }
/* Ensure temporary preferences are temporary */
gnc_prefs_reset_group (GNC_PREFS_GROUP_WARNINGS_TEMP);
Summary of changes:
gnucash/gnucash.cpp | 13 -------------
1 file changed, 13 deletions(-)
More information about the gnucash-changes
mailing list