diff options
Diffstat (limited to 'src/remmina.c')
-rw-r--r-- | src/remmina.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/remmina.c b/src/remmina.c index cd25ed17c..0dc69df3e 100644 --- a/src/remmina.c +++ b/src/remmina.c @@ -292,6 +292,9 @@ int main(int argc, char* argv[]) app_id = g_application_id_is_valid(REMMINA_APP_ID) ? REMMINA_APP_ID : NULL; app = gtk_application_new(app_id, G_APPLICATION_HANDLES_COMMAND_LINE); +#if !GTK_CHECK_VERSION(4, 0, 0) /* This is not needed anymore starting from Gtk+ 4 */ + g_set_prgname(app_id); +#endif g_signal_connect(app, "startup", G_CALLBACK(remmina_on_startup), NULL); g_signal_connect(app, "command-line", G_CALLBACK(remmina_on_command_line), NULL); g_signal_connect(app, "handle-local-options", G_CALLBACK(remmina_on_local_cmdline), NULL); |