[gnome-maps/wip/mlundblad/remove-more-gtk-widget-destroy: 5/6] mapMarker: Stop using gtk_widget_destroy()




commit 142dbe2d4123560a62b989f595a64f36ceea605a
Author: Marcus Lundblad <ml update uu se>
Date:   Fri Apr 23 23:50:47 2021 +0200

    mapMarker: Stop using gtk_widget_destroy()
    
    destroy() will only be supported for top-levels in GTK 4.
    And this call seemed unnessary, as the popover is closed, and
    should have been de-referenced anyway.

 src/mapMarker.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/mapMarker.js b/src/mapMarker.js
index eb2747ab..c55c2ac2 100644
--- a/src/mapMarker.js
+++ b/src/mapMarker.js
@@ -342,7 +342,6 @@ var MapMarker = GObject.registerClass({
             this.disconnect(parentSetSignalId);
             this.disconnect(dragMotionSignalId);
 
-            this._bubble.destroy();
             delete this._bubble;
         });
 


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