Changeset 2880

Show
Ignore:
Timestamp:
07/26/06 23:49:30
Author:
chipx86
Message:

Patch by Ed Catmur to fix an assertion failure when destroying a notification caused by gtk_widget_realize() being called somewhere in the destructor chain. This closes ticket #77.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/notification-daemon/AUTHORS

    r2879 r2880  
    66    Rodney Dawes <dobey@novell.com> 
    77    felix@hsgheli.de 
     8    Ed Catmur <ed@catmur.co.uk> 
    89 
    910Translators: 
  • trunk/notification-daemon/ChangeLog

    r2879 r2880  
     1Wed Jul 26 23:44:24 PDT 2006  Christian Hammond <chipx86@chipx86.com> 
     2 
     3    * NEWS: 
     4    * src/daemon.c: 
     5      - Patch by Ed Catmur to fix an assertion failure when destroying a 
     6        notification caused by gtk_widget_realize() being called somewhere 
     7        in the destructor chain. This closes ticket #77. 
     8 
    19Thu Jul 13 00:50:05 PDT 2006  Christian Hammond <chipx86@chipx86.com> 
    210 
  • trunk/notification-daemon/NEWS

    r2879 r2880  
    55    * Fixed a crash under some icon themes where the base size of an icon 
    66      was being returned as 0. (Bug #61) 
     7    * Fixed an assertion failure under newer versions of GTK+ during a 
     8      notification's destruction. Patch by Ed Catmur. (Bug #77) 
    79    * Added a Dutch translation from Wouter Bolsterlee. (Bug #55) 
    810 
  • trunk/notification-daemon/src/daemon.c

    r2879 r2880  
    717717                                                  remove_link); 
    718718    } 
     719 
     720    if (GTK_WIDGET_REALIZED(GTK_WIDGET(nw))) 
     721        gtk_widget_unrealize(GTK_WIDGET(nw)); 
    719722} 
    720723