[gtk/fix-iconhelper] iconhelper: Fix the paintable implementation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/fix-iconhelper] iconhelper: Fix the paintable implementation
- Date: Sat, 31 Jul 2021 12:27:42 +0000 (UTC)
commit 744955753f45ffc25069b3ea858d842bd334acf8
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 31 07:46:54 2021 -0400
iconhelper: Fix the paintable implementation
get_current_image was recursing due to an obvious typo.
Fixes: #4140
gtk/gtkiconhelper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c
index e4ff62a3c1..80cbca7474 100644
--- a/gtk/gtkiconhelper.c
+++ b/gtk/gtkiconhelper.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]