mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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.
This commit is contained in:
parent
1a806b4e12
commit
9a39b3cd69
@ -72,7 +72,6 @@ namespace bl = boost::locale;
|
|||||||
|
|
||||||
/* This static indicates the debugging module that this .o belongs to. */
|
/* This static indicates the debugging module that this .o belongs to. */
|
||||||
static QofLogModule log_module = GNC_MOD_GUI;
|
static QofLogModule log_module = GNC_MOD_GUI;
|
||||||
static gchar *userdata_migration_msg = NULL;
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
load_gnucash_plugins()
|
load_gnucash_plugins()
|
||||||
@ -207,18 +206,6 @@ scm_run_gnucash (void *data, [[maybe_unused]] int argc, [[maybe_unused]] char **
|
|||||||
gnc_ui_new_user_dialog();
|
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 */
|
/* Ensure temporary preferences are temporary */
|
||||||
gnc_prefs_reset_group (GNC_PREFS_GROUP_WARNINGS_TEMP);
|
gnc_prefs_reset_group (GNC_PREFS_GROUP_WARNINGS_TEMP);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user