[gtk/present-toplevel-2: 152/178] broadway: Drop some unused vuncs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2: 152/178] broadway: Drop some unused vuncs
- Date: Tue, 10 Mar 2020 01:22:43 +0000 (UTC)
commit 86aafbb690c161cbb10dda9bc348b6ed8c1fa991
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 9 10:34:08 2020 -0700
broadway: Drop some unused vuncs
show, withdraw, raise, lower are all unused.
gdk/broadway/gdksurface-broadway.c | 22 ----------------------
1 file changed, 22 deletions(-)
---
diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c
index a7c1068873..bd1df8e1cf 100644
--- a/gdk/broadway/gdksurface-broadway.c
+++ b/gdk/broadway/gdksurface-broadway.c
@@ -386,12 +386,6 @@ gdk_broadway_surface_hide (GdkSurface *surface)
_gdk_surface_clear_update_area (surface);
}
-static void
-gdk_broadway_surface_withdraw (GdkSurface *surface)
-{
- gdk_broadway_surface_hide (surface);
-}
-
static void
gdk_broadway_surface_move_resize_internal (GdkSurface *surface,
gboolean with_move,
@@ -513,15 +507,9 @@ gdk_broadway_surface_layout_popup (GdkSurface *surface,
}
}
-static void
-gdk_broadway_surface_raise (GdkSurface *surface)
-{
-}
-
static void
show_popup (GdkSurface *surface)
{
- gdk_broadway_surface_raise (surface);
gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_WITHDRAWN, 0);
_gdk_surface_update_viewable (surface);
gdk_broadway_surface_show (surface, FALSE);
@@ -564,12 +552,6 @@ gdk_broadway_surface_present_popup (GdkSurface *surface,
return GDK_SURFACE_IS_MAPPED (surface);
}
-static void
-gdk_broadway_surface_lower (GdkSurface *surface)
-{
-}
-
-
static void
gdk_broadway_surface_focus (GdkSurface *surface,
guint32 timestamp)
@@ -1374,11 +1356,7 @@ gdk_broadway_surface_class_init (GdkBroadwaySurfaceClass *klass)
object_class->finalize = gdk_broadway_surface_finalize;
impl_class->ref_cairo_surface = gdk_broadway_surface_ref_cairo_surface;
- impl_class->show = gdk_broadway_surface_show;
impl_class->hide = gdk_broadway_surface_hide;
- impl_class->withdraw = gdk_broadway_surface_withdraw;
- impl_class->raise = gdk_broadway_surface_raise;
- impl_class->lower = gdk_broadway_surface_lower;
impl_class->toplevel_resize = gdk_broadway_surface_toplevel_resize;
impl_class->present_popup = gdk_broadway_surface_present_popup;
impl_class->get_geometry = gdk_broadway_surface_get_geometry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]