summaryrefslogtreecommitdiff
path: root/gtk/gtktooltipwindow.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-16 03:38:50 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-16 06:04:44 +0100
commitbcf1aa7cb2cc019144bbe405976aad59d08126c1 (patch)
tree6d4f6f638f3b7673dd678fe03ced095de1f1e065 /gtk/gtktooltipwindow.c
parentd1be2b29cf6a68f721c4707879930e7d9750824a (diff)
downloadgtk+-bcf1aa7cb2cc019144bbe405976aad59d08126c1.tar.gz
tooltips: Make icon a paintable
Diffstat (limited to 'gtk/gtktooltipwindow.c')
-rw-r--r--gtk/gtktooltipwindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktooltipwindow.c b/gtk/gtktooltipwindow.c
index 18bcca3bc4..8fcb2a44a6 100644
--- a/gtk/gtktooltipwindow.c
+++ b/gtk/gtktooltipwindow.c
@@ -121,12 +121,12 @@ gtk_tooltip_window_set_label_text (GtkTooltipWindow *window,
void
gtk_tooltip_window_set_image_icon (GtkTooltipWindow *window,
- GdkTexture *texture)
+ GdkPaintable *paintable)
{
- if (texture != NULL)
+ if (paintable != NULL)
{
- gtk_image_set_from_texture (GTK_IMAGE (window->image), texture);
+ gtk_image_set_from_paintable (GTK_IMAGE (window->image), paintable);
gtk_widget_show (window->image);
}
else