summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-24 19:57:10 -0500
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:45 +0100
commit53c2114356ed4e008519866946d5171d13dc0ff7 (patch)
tree21693356e7c1a80e2667e3881474ae3ad1d7ffea /gtk/gtkicontheme.c
parente9ef162d4cd5d79629659237af27c1507d4e7173 (diff)
downloadgtk+-53c2114356ed4e008519866946d5171d13dc0ff7.tar.gz
Deprecate gtk_icon_info_load_symbolic_for_style
We might end removing it altogether since it is a bit silly to have Since: 3.0 Deprecated: 3.0
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,