diff --git a/src/mainwindow.c b/src/mainwindow.c index 4705e64..1e94450 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -381,9 +381,9 @@ struct mainWindow *mainWindow_new() mainWindow_configure_treeView(mainWindow); mainWindow_connect_signals(mainWindow); - gtk_toggle_button_set_active(mainWindow->checkSearchTitle, 1); - gtk_toggle_button_set_active(mainWindow->checkSearchTags, 1); - gtk_toggle_button_set_active(mainWindow->checkSearchText, 0); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mainWindow->checkSearchTitle), 1); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mainWindow->checkSearchTags), 1); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mainWindow->checkSearchText), 0); /** * These need to be set to oldest and newest after indexing date