[Xfce4-commits] <xfdesktop:master> Fix segfault on session start
Eric Koegel
noreply at xfce.org
Sun Feb 23 07:06:01 CET 2014
Updating branch refs/heads/master
to 6583a1a632779e72ba6ecfa32a10f30980081876 (commit)
from bdc893fd97c8820f25d9b878ce97f28e6a43bfd1 (commit)
commit 6583a1a632779e72ba6ecfa32a10f30980081876
Author: Thaddäus Tintenfisch <thad.fisch at gmail.com>
Date: Sun Feb 23 09:02:58 2014 +0300
Fix segfault on session start
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
src/xfce-desktop.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index aff857e..b076589 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1662,6 +1662,10 @@ xfce_desktop_refresh(XfceDesktop *desktop)
if(!gtk_widget_get_realized(GTK_WIDGET(desktop)))
return;
+ if(desktop->priv->workspaces == NULL) {
+ return;
+ }
+
current_workspace = xfce_desktop_get_current_workspace(desktop);
/* reload backgrounds */
More information about the Xfce4-commits
mailing list