summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-08-18 15:45:13 +0000
committerManish Singh <yosh@src.gnome.org>2004-08-18 15:45:13 +0000
commit9f326d612bb037451455463f2f9f6863a6fbd3f1 (patch)
tree9d01010ef5d5de7bf0f5a33aa2bdf5bf29ff725f /gtk/gtkicontheme.c
parent5734f5f7e96feccc67d19dd21f267dba35ced4e2 (diff)
downloadgtk+-9f326d612bb037451455463f2f9f6863a6fbd3f1.tar.gz
Applied patch from Olivier Andrieu to fix bug #150440.
Wed Aug 18 08:31:17 2004 Manish Singh <yosh@gimp.org> * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix bug #150440. * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should match constness attributes of g_get_system_data_dirs ().
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index edc6ca64be..d46b1202a6 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -524,7 +524,7 @@ static void
gtk_icon_theme_init (GtkIconTheme *icon_theme)
{
GtkIconThemePrivate *priv;
- gchar **xdg_data_dirs;
+ const gchar * const *xdg_data_dirs;
int i, j;
priv = g_type_instance_get_private ((GTypeInstance *)icon_theme,
@@ -570,7 +570,7 @@ do_theme_change (GtkIconTheme *icon_theme)
GtkIconThemePrivate *priv = icon_theme->priv;
blow_themes (icon_theme);
- g_signal_emit (G_OBJECT (icon_theme), signal_changed, 0);
+ g_signal_emit (icon_theme, signal_changed, 0);
if (priv->screen && priv->is_screen_singleton)
{