aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-29 20:50:40 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-29 20:50:40 +0100
commit3837307a8c54c2e6b187c40c1c7649a28f387e09 (patch)
treec86f050a7be00bb77a1f28703a55717a0a0c22cc
parentce2d4526f255b634e247a887c91396e677cb60e2 (diff)
Fix build
-rw-r--r--project.conf2
-rw-r--r--src/main.cpp4
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");