From dcae815a5e1a6205f9d35bbfe0bba0f650c1d0eb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 23 Jun 2024 01:41:26 +0200 Subject: Update appdata --- src/egl.c | 4 ++-- src/main.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/egl.c b/src/egl.c index b574f90..79aab1f 100644 --- a/src/egl.c +++ b/src/egl.c @@ -210,7 +210,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) { } static bool gsr_egl_load_egl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->eglGetDisplay, "eglGetDisplay" }, { (void**)&self->eglInitialize, "eglInitialize" }, { (void**)&self->eglTerminate, "eglTerminate" }, @@ -235,7 +235,7 @@ static bool gsr_egl_load_egl(gsr_egl *self, void *library) { } static bool gsr_egl_load_gl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->glGetString, "glGetString" }, { NULL, NULL } diff --git a/src/main.cpp b/src/main.cpp index 5e52f0f..22ad190 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -394,6 +394,7 @@ static void setup_systray(GtkApplication *app) { app_indicator_set_icon_full(app_indicator, tray_idle_icon_name, "Idle"); // This triggers Gdk assert: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed, // dont know why but it works anyways + app_indicator_set_title(app_indicator, "GPU Screen Recorder"); app_indicator_set_status(app_indicator, APP_INDICATOR_STATUS_ACTIVE); app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(app, SystrayPage::FRONT))); } -- cgit v1.2.3