Skip to content

Commit

Permalink
fix(example): Fix window icon on wayland
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Oct 29, 2024
1 parent 7cffea0 commit 9618505
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/neon_framework/example/linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ static void my_application_class_init(MyApplicationClass* klass) {
static void my_application_init(MyApplication* self) {}

MyApplication* my_application_new() {
// Set the program name to the application ID, which helps various systems
// like GTK and desktop environments map this running application to its
// corresponding .desktop file. This ensures better integration by allowing
// the application to be recognized beyond its binary name.
g_set_prgname(APPLICATION_ID);

Check warning on line 111 in packages/neon_framework/example/linux/my_application.cc

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (prgname)

return MY_APPLICATION(g_object_new(my_application_get_type(),
"application-id", APPLICATION_ID,
"flags", G_APPLICATION_NON_UNIQUE,
Expand Down

0 comments on commit 9618505

Please sign in to comment.