2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (setup_size_from_metadata),
(ev_window_load_print_settings_from_metadata):
Fix memory leaks.
svn path=/trunk/; revision=3305
+2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (setup_size_from_metadata),
+ (ev_window_load_print_settings_from_metadata):
+
+ Fix memory leaks.
+
2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-document.c: (ev_document_get_type):
if (ev_metadata_manager_get (uri, "window_maximized", &maximized, FALSE)) {
if (g_value_get_boolean (&maximized)) {
gtk_window_maximize (GTK_WINDOW (window));
+ g_value_unset (&maximized);
return;
} else {
gtk_window_unmaximize (GTK_WINDOW (window));
gtk_print_settings_set (window->priv->print_settings,
document_print_settings[i],
success ? g_value_get_string (&value) : NULL);
+ if (success)
+ g_value_unset (&value);
}
}