From 3837307a8c54c2e6b187c40c1c7649a28f387e09 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 29 Nov 2023 20:50:40 +0100 Subject: Fix build --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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