From: <sa...@us...> - 2006-10-18 04:40:05
|
Revision: 17517 http://svn.sourceforge.net/gaim/?rev=17517&view=rev Author: sadrul Date: 2006-10-17 21:39:59 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Patch from Richard Nelson (wabz). This is not necessary right now, but it's probably going to be necessary for workspaces (wabz is doing a WM for that). Modified Paths: -------------- trunk/console/libgnt/gntmain.c Modified: trunk/console/libgnt/gntmain.c =================================================================== --- trunk/console/libgnt/gntmain.c 2006-10-18 04:21:10 UTC (rev 17516) +++ trunk/console/libgnt/gntmain.c 2006-10-18 04:39:59 UTC (rev 17517) @@ -271,8 +271,7 @@ GNT_WIDGET_UNSET_FLAGS(w, GNT_WIDGET_URGENT); if (wm.window_update) { GntNode *node = g_hash_table_lookup(nodes, w); - if (node) - wm.window_update(node->panel, w); + wm.window_update(node ? node->panel : NULL, w); } } else if (GNT_WIDGET_IS_FLAG_SET(w, GNT_WIDGET_URGENT)) { /* This is a window with the URGENT hint set */ @@ -1318,7 +1317,7 @@ if (wm.window_update) { GntNode *node = g_hash_table_lookup(nodes, widget); - wm.window_update(node->panel, widget); + wm.window_update(node ? node->panel : NULL, widget); } draw_taskbar(FALSE); @@ -1382,7 +1381,7 @@ if (wm.window_update) { GntNode *node = g_hash_table_lookup(nodes, widget); - wm.window_update(node->panel, widget); + wm.window_update(node ? node->panel : NULL, widget); } draw_taskbar(FALSE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |