icon-theme: Use GtkSnapshot, not GdkSnapshot

This commit is contained in:
Alexander Larsson 2020-01-30 08:55:44 +01:00
parent 2b202129bb
commit b227a2f190
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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,