Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31132

Summary: Notification area 100%cpu usage bug
Product: Gentoo Linux Reporter: Sean Walker <walkers>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sean Walker 2003-10-14 10:39:31 UTC
Could the simple patch from http://bugzilla.gnome.org/show_bug.cgi?id=122327 be included in the portage tree? It causes my system to go to 100% cpu every time I start.

diff -ur gtk+-2.2.4.orig/gtk/gtksocket.c gtk+-2.2.4/gtk/gtksocket.c
--- gtk+-2.2.4.orig/gtk/gtksocket.c	2003-10-06 20:42:48.679102912 -0400
+++ gtk+-2.2.4/gtk/gtksocket.c	2003-10-06 20:43:02.267037232 -0400
@@ -840,7 +840,7 @@
   if (socket->plug_widget)
     return gtk_widget_child_focus (socket->plug_widget, direction);
 
-  if (!GTK_WIDGET_HAS_FOCUS (widget))
+  if (!gtk_widget_is_focus (widget))
     {
       switch (direction)
 	{
Comment 1 foser (RETIRED) gentoo-dev 2003-10-14 12:51:55 UTC
already in gtk+ , remerge.