From 9a39b3cd6966f8d867efed934b6419bfd2ce5a2b Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 17 Mar 2024 09:00:32 +0100 Subject: [PATCH] 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. --- gnucash/gnucash.cpp | 13 ------------- 1 file changed, 13 deletions(-) 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);