Save an if expression.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4209 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-09-17 18:05:36 +00:00
parent 7cd556f400
commit a26e5b96ba
2 changed files with 2 additions and 3 deletions

View File

@ -5,6 +5,8 @@
disabled (closes #2856822).
Plug a small memory leak and improve function signature of
add_page_header().
* src/keyfile.c:
Save an if expression.
2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -483,10 +483,7 @@ static void save_ui_prefs(GKeyFile *config)
gtk_paned_get_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "hpaned1"))));
g_key_file_set_integer(config, PACKAGE, "msgwindow_position",
gtk_paned_get_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "vpaned1"))));
}
if (prefs.save_winpos)
{
gtk_window_get_position(GTK_WINDOW(main_widgets.window), &ui_prefs.geometry[0], &ui_prefs.geometry[1]);
gtk_window_get_size(GTK_WINDOW(main_widgets.window), &ui_prefs.geometry[2], &ui_prefs.geometry[3]);
if (gdk_window_get_state(main_widgets.window->window) & GDK_WINDOW_STATE_MAXIMIZED)