utils: API added

+ get_color_name_from_source
+ get_circle_pixbuf_from_color

The first one is use plenty in the codebase, everytime we need a color,
and the second one will be used when retrieving the search results.
This commit is contained in:
Erick Pérez Castellanos
2015-02-06 09:21:33 -05:00
parent e942f6c885
commit 820d1cdb65
2 changed files with 39 additions and 0 deletions
+5
View File
@@ -72,6 +72,11 @@ gchar* gcal_get_month_name (gint
GdkPixbuf* gcal_get_pixbuf_from_color (GdkRGBA *color,
gint size);
GdkPixbuf* get_circle_pixbuf_from_color (GdkRGBA *color,
gint size);
const gchar* get_color_name_from_source (ESource *source);
gint gcal_compare_event_widget_by_date (gconstpointer a,
gconstpointer b);