From 9366520fe9049c4cef27ce987d011ccde876e787 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 29 Sep 2006 08:48:37 +0000 Subject: [PATCH] No more seggie if the icons change before they are shown. SVN revision: 26212 --- src/modules/ibar/e_mod_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index cb0826335..4bc40c866 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -715,7 +715,8 @@ _ibar_cb_app_change(void *data, E_App *a, E_App_Change ch) _ibar_icon_fill(ic); } _ibar_resize_handle(b); - _gc_orient(b->inst->gcc); + if (b->inst) + _gc_orient(b->inst->gcc); } break; case E_APP_ORDER: @@ -724,7 +725,8 @@ _ibar_cb_app_change(void *data, E_App *a, E_App_Change ch) _ibar_empty(b); _ibar_fill(b); _ibar_resize_handle(b); - _gc_orient(b->inst->gcc); + if (b->inst) + _gc_orient(b->inst->gcc); } break; case E_APP_EXEC: