diff src/layout.c @ 837:f8c22438376c

use GtkSizeGroup to control initial size of split images
author nadvornik
date Sat, 14 Jun 2008 21:49:48 +0000
parents e9e3fb483cdc
children 1b14c0e177ad
line wrap: on
line diff
--- a/src/layout.c	Sat Jun 14 18:41:30 2008 +0000
+++ b/src/layout.c	Sat Jun 14 21:49:48 2008 +0000
@@ -1809,6 +1809,8 @@
 	layout_bars_close(lw);
 
 	gtk_widget_destroy(lw->window);
+	
+	if (lw->split_image_sizegroup) g_object_unref(lw->split_image_sizegroup);
 
 	file_data_unregister_notify_func(layout_image_notify_cb, lw);