From: Alexander Larsson Date: Thu, 30 Jan 2020 07:55:44 +0000 (+0100) Subject: icon-theme: Use GtkSnapshot, not GdkSnapshot X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~126^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b227a2f1906b4fba8e96ecce30df45fb4c27b050;p=gtk4.git icon-theme: Use GtkSnapshot, not GdkSnapshot --- diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 4f8bf9cfd7..070fb84aa1 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3995,7 +3995,7 @@ gtk_icon_download_colored_texture (GtkIcon *self, static void icon_paintable_snapshot (GdkPaintable *paintable, - GdkSnapshot *snapshot, + GtkSnapshot *snapshot, double width, double height) { @@ -4023,7 +4023,7 @@ icon_paintable_snapshot (GdkPaintable *paintable, void gtk_icon_snapshot_with_colors (GtkIcon *icon, - GdkSnapshot *snapshot, + GtkSnapshot *snapshot, double width, double height, const GdkRGBA *foreground_color, diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index c40f0867d0..45ca609363 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -38,7 +38,7 @@ G_BEGIN_DECLS #define GTK_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_THEME)) typedef struct _GtkIcon GtkIcon; -typedef struct _GtkIconTheme GtkIconTheme; +typedef struct _GtkIconTheme GtkIconTheme; /** * GtkIconLookupFlags: @@ -205,8 +205,8 @@ GdkTexture * gtk_icon_download_colored_texture (GtkIcon *self, const GdkRGBA *error_color, GError **error); GDK_AVAILABLE_IN_ALL -void gtk_icon_snapshot_with_colors (GtkIcon *icon_info, - GdkSnapshot *snapshot, +void gtk_icon_snapshot_with_colors (GtkIcon *icon, + GtkSnapshot *snapshot, double width, double height, const GdkRGBA *foreground_color,