Commit b47bdda2 authored by Benjamin Otte's avatar Benjamin Otte

widget: Add a frameclock_connected boolean

... and use it to not connect anything to the frameclock if it isn't

This gets around the problem that the frame clock is disconnected before
GtkWidgetClass.unrealize() is called but the widget is still marked as
realized and the frame clock is available during the vfunc, which makes
calls like gtk_widget_queue_resize() reconnect to the frame clock.

Closes #168
parent 9e926f9a
Pipeline #8782 passed with stage
in 8 minutes and 33 seconds