diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-06-19 12:47:48 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-06-19 12:47:48 +0000 |
commit | 446f41757b425441976e5a2b32c233f64036e6ff (patch) | |
tree | e5c7f9043eee1d0378dee141d90ceab4db21db0f /gtk/gtkicontheme.c | |
parent | 1a30e12586de407b88b003b2f2599a599a9527f5 (diff) | |
download | gtk+-446f41757b425441976e5a2b32c233f64036e6ff.tar.gz |
Use g_set_error_literal where appropriate. Bug #538640.
svn path=/trunk/; revision=20463
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 43666a4c2a..7fe4fb2815 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -2977,10 +2977,10 @@ gtk_icon_info_load_icon (GtkIconInfo *icon_info, if (icon_info->load_error) g_propagate_error (error, icon_info->load_error); else - g_set_error (error, - GTK_ICON_THEME_ERROR, - GTK_ICON_THEME_NOT_FOUND, - _("Failed to load icon")); + g_set_error_literal (error, + GTK_ICON_THEME_ERROR, + GTK_ICON_THEME_NOT_FOUND, + _("Failed to load icon")); return NULL; } |