mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
icon-theme: Use GtkSnapshot, not GdkSnapshot
This commit is contained in:
parent
2b202129bb
commit
b227a2f190
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user