From 3837307a8c54c2e6b187c40c1c7649a28f387e09 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 29 Nov 2023 20:50:40 +0100 Subject: Fix build --- project.conf | 2 +- src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project.conf b/project.conf index 8c6239e..9c58c71 100644 --- a/project.conf +++ b/project.conf @@ -5,7 +5,7 @@ version = "3.0.0" platforms = ["posix"] [config] -#error_on_warning = "true" +error_on_warning = "true" [dependencies] gtk+-3.0 = "3" diff --git a/src/main.cpp b/src/main.cpp index 3bf6f00..ef30c47 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2053,7 +2053,7 @@ static bool get_supported_video_codecs(SupportedVideoCodecs *supported_video_cod pclose(f); return true; } - +#if 0 static gboolean on_remove_password_prompts_button_click(GtkButton*, gpointer) { int result = system("flatpak-spawn --host pkexec flatpak run --command=gpu-screen-recorder-gtk com.dec05eba.gpu_screen_recorder --install-polkit-rule"); switch(result) { @@ -2095,7 +2095,7 @@ static gboolean on_restore_password_prompts_button_click(GtkButton*, gpointer) { } return true; } - +#endif static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *app, const gpu_info &gpu_inf) { GtkGrid *grid = GTK_GRID(gtk_grid_new()); gtk_stack_add_named(stack, GTK_WIDGET(grid), "common-settings"); -- cgit v1.2.3