# HG changeset patch # User Cristi Magherusan # Date 1235958837 -7200 # Node ID 2a4eb326eb1d96a145447b9cc6fc64721ee6fed9 # Parent 2cdf6400594c2a168467097301ed6bdff92c22d4 fixed crash of the new GUI when right clicking on the StatusIcon diff -r 2cdf6400594c -r 2a4eb326eb1d src/statusicon/si_ui.c --- a/src/statusicon/si_ui.c Tue Feb 10 23:56:41 2009 +0100 +++ b/src/statusicon/si_ui.c Mon Mar 02 03:53:57 2009 +0200 @@ -102,7 +102,8 @@ break; case SI_CFG_RCLICK_MENU_AUD: default: - audacious_menu_main_show( event->x_root , event->y_root , 3 , event->time ); + if(audacious_menu_main_show != NULL) + audacious_menu_main_show ( event->x_root , event->y_root , 3 , event->time ); break; } break;