[Xfce4-commits] <xfce4-appfinder:master> Avoid abort if xfconf channel is reset.

Nick Schermer noreply at xfce.org
Tue Dec 27 14:22:01 CET 2011


Updating branch refs/heads/master
         to bc62537507b9455d0b4034d8a79324a87548bf76 (commit)
       from c597c4ab3c7b31190cf6541d82fa8301264e539c (commit)

commit bc62537507b9455d0b4034d8a79324a87548bf76
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Dec 27 14:19:42 2011 +0100

    Avoid abort if xfconf channel is reset.

 src/appfinder-window.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 5738237..e29f30a 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -1010,7 +1010,8 @@ xfce_appfinder_window_property_changed (XfconfChannel       *channel,
     }
   else if (g_strcmp0 (prop, "/text-beside-icons") == 0)
     {
-      xfce_appfinder_window_set_item_width (window);
+      if (GTK_IS_ICON_VIEW (window->view))
+        xfce_appfinder_window_set_item_width (window);
     }
 }
 


More information about the Xfce4-commits mailing list