mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Guard against bad parameter to gnc_plugin_page_invoice_summarybar_position_changed.
This avoids the crash in bug #710979 but doesn't fix the underlying problem. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23346 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
bc1970bf71
commit
1cfa86695a
@ -621,6 +621,7 @@ gnc_plugin_page_invoice_summarybar_position_changed(gpointer prefs, gchar *pref,
|
||||
|
||||
plugin_page = GNC_PLUGIN_PAGE(user_data);
|
||||
page = GNC_PLUGIN_PAGE_INVOICE (user_data);
|
||||
g_return_if_fail(page != NULL);
|
||||
priv = GNC_PLUGIN_PAGE_INVOICE_GET_PRIVATE(page);
|
||||
|
||||
if (gnc_prefs_get_bool (GNC_PREFS_GROUP_GENERAL, GNC_PREF_SUMMARYBAR_POSITION_TOP))
|
||||
|
Loading…
Reference in New Issue
Block a user