• Benjamin Otte's avatar
    widget: Add a frameclock_connected boolean · b47bdda2
    Benjamin Otte authored
    ... 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
gtkwidget.c 535 KB