forked from AuroraMiddleware/gtk
g_return_if_fail() on icon_name != NULL so we get a warning instead of a
2009-01-22 Michael Natterer <mitch@imendio.com> * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): g_return_if_fail() on icon_name != NULL so we get a warning instead of a crash here. svn path=/trunk/; revision=22174
This commit is contained in:
parent
6cceccd860
commit
374fa4bb4a
@ -1,3 +1,8 @@
|
||||
2009-01-22 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): g_return_if_fail()
|
||||
on icon_name != NULL so we get a warning instead of a crash here.
|
||||
|
||||
2009-01-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* NEWS: Updates
|
||||
|
@ -1571,7 +1571,8 @@ gtk_icon_theme_has_icon (GtkIconTheme *icon_theme,
|
||||
GList *l;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_ICON_THEME (icon_theme), FALSE);
|
||||
|
||||
g_return_val_if_fail (icon_name != NULL, FALSE);
|
||||
|
||||
priv = icon_theme->priv;
|
||||
|
||||
ensure_valid_themes (icon_theme);
|
||||
|
Loading…
Reference in New Issue
Block a user