[mutter/wip/carlosg/selection-fixes: 10/15] wayland: Chain up to the right finalize on MetaWaylandDataSourceWayland



commit dd2b1278a01e4c9783818b8b8f02f766f7c8434a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Oct 11 18:02:13 2019 +0200

    wayland: Chain up to the right finalize on MetaWaylandDataSourceWayland
    
    This function was using the wrong parent class pointer, so it was mistakenly
    skipping over MetaWaylandDataSource::finalize.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/848

 src/wayland/meta-wayland-data-device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c
index 310ad13cf..7948fe912 100644
--- a/src/wayland/meta-wayland-data-device.c
+++ b/src/wayland/meta-wayland-data-device.c
@@ -1420,7 +1420,7 @@ meta_wayland_source_drag_finished (MetaWaylandDataSource *source)
 static void
 meta_wayland_source_finalize (GObject *object)
 {
-  G_OBJECT_CLASS (meta_wayland_data_source_parent_class)->finalize (object);
+  G_OBJECT_CLASS (meta_wayland_data_source_wayland_parent_class)->finalize (object);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]