[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 11:49:06 +0000 (UTC)
commit 1469db134b4be953bdfcd6745793d935e9ce294e
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..0e59f1da2a 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 gtk_paintable_get_current_image (self->paintable);
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]