[Reportbug-maint] Bug#850733: Bug#850733: Crashes with "TypeError: GObject.__init__() takes exactly 0 arguments (1 given)"

Simon McVittie smcv at debian.org
Sat Jan 14 21:38:53 UTC 2017


On Sat, 14 Jan 2017 at 19:50:17 +0000, Simon McVittie wrote:
> > On Mon, Jan 9, 2017 at 2:21 PM, James Clarke <jrtc27 at debian.org> wrote:
> > > I would guess there are some UI
> > > interactions happening not on the main UI thread.
> 
> I found a couple of places where this was done wrong. I'll send a
> patch series soon.

Try these?

They seem to work here, but I didn't get this crash myself (in GNOME
on Wayland with Gtk's standard Adwaita theme, if it matters) so I can't
say whether they are a complete fix.

    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gtk2_ui-Avoid-deprecated-Gtk.Expander-str-constructo.patch
Type: text/x-diff
Size: 1220 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gtk2_ui-Consistently-call-set_progress_label-in-UI-t.patch
Type: text/x-diff
Size: 1229 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0007.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-gtk2_ui-Create-a-GLib-main-context-for-each-thread.patch
Type: text/x-diff
Size: 3863 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0008.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-gtk2_ui-Simplify-run_once_in_main_thread-by-inlining.patch
Type: text/x-diff
Size: 1095 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0009.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-gtk2_ui-call-GObject-constructors-in-UI-thread.patch
Type: text/x-diff
Size: 2297 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0010.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-gtk2_ui-Add-assertions-that-we-are-in-the-intended-t.patch
Type: text/x-diff
Size: 34490 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170114/56275629/attachment-0011.patch>


More information about the Reportbug-maint mailing list