Fix GTK warning when closing Dino
"Can't set a target list on a widget until you've called gtk_drag_dest_set() to make the widget into a drag destination"
This commit is contained in:
parent
4f0ca55cf0
commit
b685c7ab9e
|
@ -40,6 +40,12 @@ public class ConversationView : Gtk.Overlay {
|
||||||
white_revealer.visible = false;
|
white_revealer.visible = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void dispose() {
|
||||||
|
// To prevent a warning when closing Dino
|
||||||
|
// "Can't set a target list on a widget until you've called gtk_drag_dest_set() to make the widget into a drag destination"
|
||||||
|
Gtk.drag_dest_unset(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue