diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-10 13:58:07 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-11 23:21:11 +0100 |
commit | 0bd0854d4d48695a671a1e12f36b77ef9e3ed23f (patch) | |
tree | cd60729125a149ea64499e8e38dddc2d7f50923a /gtk/gtkicontheme.c | |
parent | b1f2e5bfa315872250550593fbe8c8a00397ca31 (diff) | |
download | gtk+-0bd0854d4d48695a671a1e12f36b77ef9e3ed23f.tar.gz |
icontheme: constify arguments to gtk_icon_theme_load_symbolic()
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 88b89e201c..7a0a55771b 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3053,7 +3053,7 @@ gdk_color_to_css (GdkColor *color) } static gchar * -gdk_rgba_to_css (GdkRGBA *color) +gdk_rgba_to_css (const GdkRGBA *color) { /* drop alpha for now, since librsvg does not understand rgba() */ return g_strdup_printf ("rgb(%d,%d,%d)", @@ -3175,13 +3175,13 @@ _gtk_icon_info_load_symbolic_internal (GtkIconInfo *icon_info, * Since: 3.0 **/ GdkPixbuf * -gtk_icon_info_load_symbolic (GtkIconInfo *icon_info, - GdkRGBA *fg, - GdkRGBA *success_color, - GdkRGBA *warning_color, - GdkRGBA *error_color, - gboolean *was_symbolic, - GError **error) +gtk_icon_info_load_symbolic (GtkIconInfo *icon_info, + const GdkRGBA *fg, + const GdkRGBA *success_color, + const GdkRGBA *warning_color, + const GdkRGBA *error_color, + gboolean *was_symbolic, + GError **error) { GdkPixbuf *pixbuf; gchar *css_fg; |