diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-16 23:18:03 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-16 23:18:03 -0500 |
commit | 49f3d86c84778f79aa9d30d4b65f5339efd29351 (patch) | |
tree | 1cb804da08659ffade11d08db2c4226b13e2d31e /gdk/wayland/gdkwindow-wayland.c | |
parent | 95876cbc9c9e48d5f1c2e3783c5f9952b79f3c8f (diff) | |
download | gtk+-49f3d86c84778f79aa9d30d4b65f5339efd29351.tar.gz |
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.
Diffstat (limited to 'gdk/wayland/gdkwindow-wayland.c')
-rw-r--r-- | 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 b07f0f80fb..9d725bc034 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); |