Updating branch refs/heads/master to 6583a1a632779e72ba6ecfa32a10f30980081876 (commit) from bdc893fd97c8820f25d9b878ce97f28e6a43bfd1 (commit)
commit 6583a1a632779e72ba6ecfa32a10f30980081876 Author: Thaddäus Tintenfisch <thad.fi...@gmail.com> Date: Sun Feb 23 09:02:58 2014 +0300 Fix segfault on session start Signed-off-by: Eric Koegel <eric.koe...@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 */ _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits