diff options
author | Ian Douglas Scott <idscott@system76.com> | 2021-09-03 16:37:56 -0700 |
---|---|---|
committer | Ian Douglas Scott <idscott@system76.com> | 2021-11-08 14:46:38 -0800 |
commit | 1c6608f4267e4d2289664ed8453f1923820f6146 (patch) | |
tree | 9e303d2a6c379ca1a8e169a31ecba62d5a823a17 | |
parent | fcdc5538cf0bee131395b2b61d5a7e0d32d0ee14 (diff) | |
download | gtk+-1c6608f4267e4d2289664ed8453f1923820f6146.tar.gz |
gdk/wayland/surface: Remove unused argument
-rw-r--r-- | gdk/wayland/gdksurface-wayland.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index ca7ff459eb..c2d4ea464c 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -1026,8 +1026,7 @@ is_realized_popup (GdkWaylandSurface *impl) impl->display_server.zxdg_popup_v6); } -static void gdk_wayland_surface_show (GdkSurface *surface, - gboolean already_mapped); +static void gdk_wayland_surface_show (GdkSurface *surface); static void gdk_wayland_surface_hide (GdkSurface *surface); static void @@ -1060,7 +1059,7 @@ gdk_wayland_surface_maybe_resize (GdkSurface *surface, gdk_wayland_surface_update_size (surface, width, height, scale); if (is_xdg_popup && is_visible && !impl->initial_configure_received) - gdk_wayland_surface_show (surface, FALSE); + gdk_wayland_surface_show (surface); } static void @@ -2858,8 +2857,7 @@ gdk_wayland_surface_map_toplevel (GdkSurface *surface) } static void -gdk_wayland_surface_show (GdkSurface *surface, - gboolean already_mapped) +gdk_wayland_surface_show (GdkSurface *surface) { GdkWaylandSurface *impl = GDK_WAYLAND_SURFACE (surface); @@ -5005,7 +5003,7 @@ gdk_wayland_toplevel_present (GdkToplevel *toplevel, g_clear_pointer (&impl->toplevel.layout, gdk_toplevel_layout_unref); impl->toplevel.layout = gdk_toplevel_layout_copy (layout); - gdk_wayland_surface_show (surface, FALSE); + gdk_wayland_surface_show (surface); if (!pending_configure) { @@ -5153,7 +5151,7 @@ gdk_wayland_drag_surface_present (GdkDragSurface *drag_surface, GdkSurface *surface = GDK_SURFACE (drag_surface); GdkWaylandSurface *impl = GDK_WAYLAND_SURFACE (surface); - gdk_wayland_surface_show (surface, FALSE); + gdk_wayland_surface_show (surface); impl->next_layout.configured_width = width; impl->next_layout.configured_height = height; |