On Thu, Jan 30, 2014 at 8:19 AM, Donald Allen <donaldcal...@gmail.com> wrote: > On Tue, Jan 28, 2014 at 5:36 PM, Daniel Wagner <dan...@wagner-home.com> wrote: >> On 2014-01-26 10:32, Axel Simon wrote: >>> On 25.01.2014, at 10:48, Donald Allen <donaldcal...@gmail.com> wrote: >>> >>>> I don't think the warning is coming from Gtk. I think it's coming from >>>> gtk2hs/gtk/Graphics/UI/Gtk/ModelView/Gtk2HsStore.c >>>> >>>> static gboolean >>>> gtk2hs_store_iter_has_child (GtkTreeModel *tree_model, >>>> GtkTreeIter *iter /* in */) >>>> { >>>> WHEN_DEBUG(g_debug("calling gtk2hs_store_iter_has_child\t(%p, >>>> %p)\n", tree_model, iter)); >>>> Gtk2HsStore *store = (Gtk2HsStore *) tree_model; >>>> g_return_val_if_fail (GTK2HS_IS_STORE (tree_model), FALSE); >>>> g_return_val_if_fail (iter->stamp == store->stamp, FALSE); >>>> <<<<<<<<<<<<<<<<<-------------------------------------- >>>> >>>> gboolean result = gtk2hs_store_iter_has_child_impl(store->impl, >>>> iter); >>>> WHEN_DEBUG(g_debug("return gtk2hs_store_iter_has_child\t=%s\n", >>>> result ? "TRUE" : "FALSE")); >>>> return result; >>>> } >>>> >>>> I think this assertion is just wrong. It's assuming that the >>>> time-stamp on the store can't change in a callback that involves a >>>> time-stamped iter. That's not true, as I've demonstrated. >>> >>> I see. Well, by all means, let's remove this assertion. Duncan and I >>> coded this with our assumptions about what the invariants should be. >> >> I have replaced the indicated line with a comment pointing to this email >> thread. > > Thanks very much. It works correctly now.
Oops, I spoke too soon; not careful enough. Reinstalling gtk3 via cabal install does *not* get the repaired version; I am still seeing the assertion error. I don't pretend to understand how all this installation machinery works, so I mention this in case you thought what you did would make the fix available via cabal. If not, when do you expect it to be available? /Don > > /Don > >> ~d >> >> ------------------------------------------------------------------------------ >> WatchGuard Dimension instantly turns raw network data into actionable >> security intelligence. It gives you real-time visual feedback on key >> security issues and trends. Skip the complicated setup - simply import >> a virtual appliance and go from zero to informed in seconds. >> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gtk2hs-devel mailing list >> Gtk2hs-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel