diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-09-17 16:00:40 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-09-17 16:01:08 +0200 |
commit | f87de393b57fbae0a96b59cb0b53a1f7c4e64d17 (patch) | |
tree | d5221c86d2ef276eecf59104feca18e3a0a75131 | |
parent | 35c3a60c080db51e76681d490714dd531804ea80 (diff) | |
download | gtk+-f87de393b57fbae0a96b59cb0b53a1f7c4e64d17.tar.gz |
wayland/surface: Remove 'committed' signal
It wasn't used by anything anymore, lets remove it.
-rw-r--r-- | gdk/wayland/gdksurface-wayland.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index 99af132356..7ac0a78263 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -45,14 +45,6 @@ #include <string.h> #include <errno.h> -enum { - COMMITTED, - - LAST_SIGNAL -}; - -static guint signals[LAST_SIGNAL]; - #define SURFACE_IS_TOPLEVEL(surface) TRUE #define MAX_WL_BUFFER_SIZE (4083) /* 4096 minus header, string argument length and NUL byte */ @@ -645,8 +637,6 @@ on_frame_clock_after_paint (GdkFrameClock *clock, wl_surface_commit (impl->display_server.wl_surface); impl->pending_commit = FALSE; - - g_signal_emit (impl, signals[COMMITTED], 0); } if (impl->awaiting_frame && @@ -4026,13 +4016,6 @@ gdk_wayland_surface_class_init (GdkWaylandSurfaceClass *klass) impl_class->set_opaque_region = gdk_wayland_surface_set_opaque_region; impl_class->set_shadow_width = gdk_wayland_surface_set_shadow_width; impl_class->create_gl_context = gdk_wayland_surface_create_gl_context; - - signals[COMMITTED] = g_signal_new (g_intern_static_string ("committed"), - G_TYPE_FROM_CLASS (object_class), - G_SIGNAL_RUN_LAST, - 0, - NULL, NULL, NULL, - G_TYPE_NONE, 0); } void |