Index: src/main.c =================================================================== --- src/main.c (révision 6520) +++ src/main.c (copie de travail) @@ -282,6 +282,7 @@ gtk_widget_ref(window); RsttoNavigator *navigator = rstto_main_window_get_navigator(RSTTO_MAIN_WINDOW(window)); + g_object_ref(navigator); navigator->preload = preload_imgs; @@ -346,6 +347,7 @@ xfce_rc_write_bool_entry(xfce_rc, "ShowToolBar", rstto_main_window_get_show_toolbar(RSTTO_MAIN_WINDOW(window))); xfce_rc_write_bool_entry(xfce_rc, "ScaleTo100", rstto_main_window_get_scale_to_100(RSTTO_MAIN_WINDOW(window))); xfce_rc_write_bool_entry(xfce_rc, "PreloadImgs", navigator->preload); + g_object_unref(navigator); xfce_rc_write_bool_entry(xfce_rc, "ShowThumbnailViewer", rstto_main_window_get_show_thumbnail_viewer(RSTTO_MAIN_WINDOW(window))); if (bg_color) {