On Jun 22, 2012, at 11:24 AM, Martin Pitt wrote: >--- src/gtimelog/main.py >+++ src/gtimelog/main.py >@@ -1054,7 +1054,8 @@ > # not necessarily the case! this logic works for, say, > # Ambiance/Radiance, but it gets New Wave and Dark Room wrong. > if toolkit == 'gi': >- style = gtk.MenuBar().get_style_context() >+ m = gtk.MenuBar() >+ style = m.get_style_context() > color = style.get_color(gtk.StateFlags.NORMAL) > value = (color.red + color.green + color.blue) / 3 > else:
That's gotta be a reference counting bug in pygi. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016212 Title: gtimelog crashed with SIGSEGV in gtk_style_context_get_valist() To manage notifications about this bug go to: https://bugs.launchpad.net/gtimelog/+bug/1016212/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
