iconhelper: Fix the paintable implementation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 31 Jul 2021 11:46:54 +0000 (07:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 31 Jul 2021 12:27:17 +0000 (08:27 -0400)
get_current_image was recursing due to an obvious typo.

Fixes: #4140
gtk/gtkiconhelper.c

index e4ff62a3c102e525d7bcbcf75fe79b3e2efb8d10..80cbca74743c101409eecb09e56cbeeca2213375 100644 (file)
@@ -294,7 +294,7 @@ gtk_icon_helper_paintable_get_current_image (GdkPaintable *paintable)
   if (self->paintable == NULL)
     return NULL;
 
-  return gtk_icon_helper_paintable_get_current_image (self->paintable);
+  return gdk_paintable_get_current_image (self->paintable);
 }
 
 static int