[gtk: 4/5] gdk/wayland/surface: Remove unused argument
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 4/5] gdk/wayland/surface: Remove unused argument
- Date: Tue, 9 Nov 2021 06:56:28 +0000 (UTC)
commit 1c6608f4267e4d2289664ed8453f1923820f6146
Author: Ian Douglas Scott <idscott system76 com>
Date: Fri Sep 3 16:37:56 2021 -0700
gdk/wayland/surface: Remove unused argument
gdk/wayland/gdksurface-wayland.c | 12 +++++-------
1 file 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]