diff --git a/zathura.c b/zathura.c index b110a6d..8d2ed74 100644 --- a/zathura.c +++ b/zathura.c @@ -229,7 +229,7 @@ zathura_init(zathura_t* zathura) if (zathura->database == NULL) { girara_error("Unable to initialize database. Bookmarks won't be available."); } else { - g_object_set(zathura->ui.session->global.command_history, "io", zathura->database, NULL); + g_object_set(zathura->ui.session->command_history, "io", zathura->database, NULL); } /* bookmarks */