mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Don't crash if icon_theme_builtin_icons hasn't been initialized. (#128726,
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if icon_theme_builtin_icons hasn't been initialized. (#128726, Diego Gonzalez)
This commit is contained in:
parent
3774da6083
commit
ba288650cd
@ -1,3 +1,9 @@
|
||||
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
|
||||
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
|
||||
Gonzalez)
|
||||
|
||||
2003-12-07 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
|
||||
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
|
||||
Gonzalez)
|
||||
|
||||
2003-12-07 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
|
||||
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
|
||||
Gonzalez)
|
||||
|
||||
2003-12-07 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
|
||||
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
|
||||
Gonzalez)
|
||||
|
||||
2003-12-07 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Dec 7 23:45:40 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
|
||||
icon_theme_builtin_icons hasn't been initialized. (#128726, Diego
|
||||
Gonzalez)
|
||||
|
||||
2003-12-07 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
|
||||
|
@ -1252,7 +1252,9 @@ gtk_icon_theme_has_icon (GtkIconTheme *icon_theme,
|
||||
if (g_hash_table_lookup_extended (priv->all_icons,
|
||||
icon_name, NULL, NULL))
|
||||
return TRUE;
|
||||
if (g_hash_table_lookup_extended (icon_theme_builtin_icons,
|
||||
|
||||
if (icon_theme_builtin_icons &&
|
||||
g_hash_table_lookup_extended (icon_theme_builtin_icons,
|
||||
icon_name, NULL, NULL))
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user