1
0
Fork 0

wayland-pointer: Drop a phony signal disconnect

cursor_sprite_prepare_at() is never connected to a MetaCursorTracker
signal.

https://bugzilla.gnome.org/show_bug.cgi?id=763159
This commit is contained in:
Rui Matos 2016-03-07 18:02:18 +01:00
parent ca1b4382c0
commit c380f2e03f

View file

@ -1318,11 +1318,6 @@ cursor_surface_role_dispose (GObject *object)
meta_wayland_surface_role_get_surface (META_WAYLAND_SURFACE_ROLE (object));
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
MetaWaylandPointer *pointer = &compositor->seat->pointer;
MetaCursorTracker *cursor_tracker = meta_cursor_tracker_get_for_screen (NULL);
g_signal_handlers_disconnect_by_func (cursor_tracker,
(gpointer) cursor_sprite_prepare_at,
cursor_role);
if (pointer->cursor_surface == surface)
pointer->cursor_surface = NULL;