[gtk+] wayland: Stop using gdk_get_program_class
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Stop using gdk_get_program_class
- Date: Fri, 17 Nov 2017 04:22:39 +0000 (UTC)
commit 49f3d86c84778f79aa9d30d4b65f5339efd29351
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 16 23:18:03 2017 -0500
wayland: Stop using gdk_get_program_class
This is an abuse, at best. If we need to pass the
app id down here, lets pass the app id.
gdk/wayland/gdkwindow-wayland.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index b07f0f8..9d725bc 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1472,8 +1472,6 @@ gdk_wayland_window_create_xdg_toplevel (GdkWindow *window)
impl->initial_fullscreen_output = NULL;
app_id = g_get_prgname ();
- if (app_id == NULL)
- app_id = gdk_get_program_class ();
zxdg_toplevel_v6_set_app_id (impl->display_server.xdg_toplevel, app_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]