diff --git a/gtk-helpers.go b/gtk-helpers.go index 9e9838e..1321b8f 100644 --- a/gtk-helpers.go +++ b/gtk-helpers.go @@ -397,13 +397,13 @@ func switchToTab(jid string, w *gtk.Window) { im.AddCSSClass("author_img") profile_box.Prepend(im) } else { - im := newImageFromPath("debug.png") + im := gtk.NewImageFromPaintable(clientAssets["DefaultAvatar"]) im.SetPixelSize(80) im.AddCSSClass("author_img") profile_box.Prepend(im) } } else { - im := newImageFromPath("debug.png") + im := gtk.NewImageFromPaintable(clientAssets["DefaultAvatar"]) im.SetPixelSize(80) im.AddCSSClass("author_img") profile_box.Prepend(im)