Commit fb8fe489 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't try to send a client message if the screen is NULL. Noticed by

2005-08-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
	message if the screen is NULL. Noticed by Kjartan Maraas.
parent 3a16e0e9
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
message if the screen is NULL. Noticed by Kjartan Maraas.
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* Bump version
......
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
message if the screen is NULL. Noticed by Kjartan Maraas.
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* Bump version
......
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
message if the screen is NULL. Noticed by Kjartan Maraas.
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* Bump version
......
......@@ -1143,7 +1143,7 @@ ensure_valid_themes (GtkIconTheme *icon_theme)
{
load_themes (icon_theme);
if (!priv->check_reload)
if (!priv->check_reload && priv->screen)
{
static GdkAtom atom_iconthemes = GDK_NONE;
GdkEvent *event = gdk_event_new (GDK_CLIENT_EVENT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment