Commit 66319220 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Remove this ref cycle patch, not needed

parent a50dc3c0
Pipeline #129572 passed with stage
in 11 minutes and 50 seconds
...@@ -47,7 +47,6 @@ class DNDHelper(GObject.Object): ...@@ -47,7 +47,6 @@ class DNDHelper(GObject.Object):
self.__gesture.connect("drag-begin", self.__on_drag_begin) self.__gesture.connect("drag-begin", self.__on_drag_begin)
self.__gesture.connect("drag-end", self.__on_drag_end) self.__gesture.connect("drag-end", self.__on_drag_end)
self.__gesture.connect("drag-update", self.__on_drag_update) self.__gesture.connect("drag-update", self.__on_drag_update)
self.connect("destroy", self.__on_destroy)
@property @property
def gesture(self): def gesture(self):
...@@ -285,14 +284,6 @@ class DNDHelper(GObject.Object): ...@@ -285,14 +284,6 @@ class DNDHelper(GObject.Object):
return False return False
return True return True
def __on_destroy(self, widget):
"""
Remove ref cycle
@param widget as Gtk.Widget
"""
self.__listbox = None
self.__view_type = None
def __on_drag_begin(self, gesture, x, y): def __on_drag_begin(self, gesture, x, y):
""" """
@param gesture as Gtk.GestureDrag @param gesture as Gtk.GestureDrag
......
rm -fr /usr/local/lib/python3.7/site-packages/lollypop/ rm -fr /usr/local/lib/python3.7/site-packages/lollypop/
ninja -C build install ninja -C build install
echo "Running lollypop" reset
lollypop -e lollypop -e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment