diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-07 17:07:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-07 17:07:29 +0100 |
commit | 3637adc1fa1a5f715b2d520217cfdc824d8eaa93 (patch) | |
tree | abeff9d81c3c02c30ed9512e3cda9fc9548e23b8 | |
parent | b62d1af19cddd7da38cc50c64cc8bd6d7762ada0 (diff) |
No window
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c659e23..f637096 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4467,7 +4467,7 @@ static bool kms_server_proxy_setup_gsr_ui(const char *msg) { const int exit_code = system("flatpak-spawn --host -- /var/lib/flatpak/app/com.dec05eba.gpu_screen_recorder/current/active/files/bin/kms-server-proxy setup-gsr-ui"); if(exit_code != 0) { - GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "Failed to setup the new UI. You either cancelled the installation or you don't have pkexec installed and a polkit agent running."); + GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "Failed to setup the new UI. You either cancelled the installation or you don't have pkexec installed and a polkit agent running."); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); |