GNOME Bugzilla – Bug 614512
Use gtk_widget_set_visible() to substitute GTK_WIDGET_SET_FLAGS (widget, VISIBLE) breaks the tests
Last modified: 2010-10-15 01:32:03 UTC
Created attachment 157640 [details] [review] Deprecate GTK_VISIBLE Patch applied attached TEST: testing... (pid=9910) /ui-tests/text-access: OK /ui-tests/button-clicks: GLib-GObject-CRITICAL **: g_closure_ref: assertion `closure->ref_count < CLOSURE_MAX_REF_COUNT' failed aborting... FAIL GTester: last random seed: R02Sd9a5804004d0f92326bfcdc25674bf09 Terminado make[2]: *** [test] Error 143
Review of attachment 157640 [details] [review]: ::: gtk/gtkwidget.c @@ +3193,3 @@ { if (!gtk_widget_get_visible (widget)) + GTK_OBJECT_FLAGS (widget) |= GTK_VISIBLE; why are you using GTK_OBJECT_FLAGS here?
@Emmanuele: Because GTK_WIDGET_SET_FLAGS() is deprecated
This is covered by the gtkobject-removal branch which gets rid of all GtkWidgetFlags
This is fixed now