summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index da551e5e76..2211020c4f 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3273,7 +3273,7 @@ gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info,
GError **error)
{
GdkPixbuf *pixbuf;
- GdkRGBA *color;
+ GdkRGBA *color = NULL;
gchar *css_fg, *css_success;
gchar *css_warning, *css_error;
@@ -3348,6 +3348,8 @@ gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info,
* Return value: (transfer full): a #GdkPixbuf representing the loaded icon
*
* Since: 3.0
+ *
+ * Deprecated: 3.0: Use gtk_icon_info_load_symbolic_for_context() instead
**/
GdkPixbuf *
gtk_icon_info_load_symbolic_for_style (GtkIconInfo *icon_info,