[Xfce4-commits] <xfce4-panel:master> Windowmenu: Do not update if screen is not initilized (bug #7728).
Nick Schermer
noreply at xfce.org
Sat Jun 18 12:34:01 CEST 2011
Updating branch refs/heads/master
to 293b242732a9a2c5df8879949f579eb67ab62f41 (commit)
from 4c1c3ce9716c74751cd37486d8b2fbb7530f0373 (commit)
commit 293b242732a9a2c5df8879949f579eb67ab62f41
Author: Nick Schermer <nick at xfce.org>
Date: Sat Jun 18 12:32:19 2011 +0200
Windowmenu: Do not update if screen is not initilized (bug #7728).
plugins/windowmenu/windowmenu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 9625aad..344478a 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -333,8 +333,8 @@ window_menu_plugin_set_property (GObject *object,
xfce_panel_plugin_get_size (panel_plugin));
window_menu_plugin_screen_position_changed (panel_plugin,
xfce_panel_plugin_get_screen_position (panel_plugin));
- window_menu_plugin_active_window_changed (plugin->screen,
- NULL, plugin);
+ if (plugin->screen != NULL)
+ window_menu_plugin_active_window_changed (plugin->screen, NULL, plugin);
}
break;
More information about the Xfce4-commits
mailing list