mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Move retrieval of private data of main window after the creation of the window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13574 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d331aa8f18
commit
c8544e6a57
@ -1,3 +1,8 @@
|
||||
2006-03-09 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome-utils/gnc-main-window.c: Move retrieval of private
|
||||
data of main window after the creation of the window.
|
||||
|
||||
2006-03-09 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/gnc-tree-model-commodity.c:
|
||||
|
@ -513,7 +513,6 @@ gnc_main_window_restore_window (GncMainWindow *window, GncMainWindowSaveData *da
|
||||
/* Setup */
|
||||
ENTER("window %p, data %p (key file %p, window %d)",
|
||||
window, data, data->key_file, data->window_num);
|
||||
priv = GNC_MAIN_WINDOW_GET_PRIVATE(window);
|
||||
window_group = g_strdup_printf(WINDOW_STRING, data->window_num + 1);
|
||||
|
||||
/* Get this window's notebook info */
|
||||
@ -546,6 +545,8 @@ gnc_main_window_restore_window (GncMainWindow *window, GncMainWindowSaveData *da
|
||||
window = gnc_main_window_new();
|
||||
}
|
||||
|
||||
priv = GNC_MAIN_WINDOW_GET_PRIVATE(window);
|
||||
|
||||
/* Get the window coordinates, etc. */
|
||||
pos = g_key_file_get_integer_list(data->key_file, window_group,
|
||||
WINDOW_POSITION, &length, &error);
|
||||
|
Loading…
Reference in New Issue
Block a user