diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-16 03:38:50 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-16 06:04:44 +0100 |
commit | bcf1aa7cb2cc019144bbe405976aad59d08126c1 (patch) | |
tree | 6d4f6f638f3b7673dd678fe03ced095de1f1e065 /gtk/gtktooltipwindow.c | |
parent | d1be2b29cf6a68f721c4707879930e7d9750824a (diff) | |
download | gtk+-bcf1aa7cb2cc019144bbe405976aad59d08126c1.tar.gz |
tooltips: Make icon a paintable
Diffstat (limited to 'gtk/gtktooltipwindow.c')
-rw-r--r-- | gtk/gtktooltipwindow.c | 6 |
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 |