]> Pileus Git - ~andy/gtk/commitdiff
Don't try to send a client message if the screen is NULL. Noticed by
authorMatthias Clasen <mclasen@redhat.com>
Wed, 24 Aug 2005 15:28:20 +0000 (15:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 24 Aug 2005 15:28:20 +0000 (15:28 +0000)
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.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkicontheme.c

index bfbd7cbfb25784745afc96df2a13ba3ddee586f6..4b47782f7866d6aa76ce778140a28f5bbabf2fd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
index bfbd7cbfb25784745afc96df2a13ba3ddee586f6..4b47782f7866d6aa76ce778140a28f5bbabf2fd1 100644 (file)
@@ -1,3 +1,8 @@
+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
index bfbd7cbfb25784745afc96df2a13ba3ddee586f6..4b47782f7866d6aa76ce778140a28f5bbabf2fd1 100644 (file)
@@ -1,3 +1,8 @@
+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
index 07f55e03e7261f1f7d85885940bf487ac9d46379..c4e88b25507f6fa2644499b2d9d0283b675c0ae2 100644 (file)
@@ -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);