utils: Shuffle and cleanup some paintable code

- It's only used in GcalShellSearchProvider so move it there.
- GdkTexture implements GIcon so no need to convert to a pixbuf.
This commit is contained in:
Georges Basile Stavracas Neto
2024-10-11 22:55:03 -03:00
parent c5424c8bfa
commit 004fdb0f3d
3 changed files with 36 additions and 48 deletions
-2
View File
@@ -59,8 +59,6 @@ GdkPaintable* gcal_get_paintable_from_color (const GdkRGBA
GdkPaintable* get_circle_paintable_from_color (const GdkRGBA *color,
gint size);
GdkPixbuf* paintable_to_pixbuf (GdkPaintable *paintable);
void get_color_name_from_source (ESource *source,
GdkRGBA *out_color);