Bug 140811 - x11-misc/notification-daemon-0.3.5 does not work with gtk+ 2.10
Bug#: 140811 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: compnerd@gentoo.org Reported By: sac7352@rit.edu
Component: Applications
URL: 
Summary: x11-misc/notification-daemon-0.3.5 does not work with gtk+ 2.10
Keywords:  
Status Whiteboard: 
Opened: 2006-07-17 11:49 0000
Description:   Opened: 2006-07-17 11:49 0000
notification-daemon-0.3.5 (latest version) is not compatible with gtk+ 2.10.0.
It compiles and starts fine, but after displaying a notification it exits with
this message:

Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
aborting...

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2006-07-18 21:36:34 0000 -------
Which app are you using to get that? (I am unable to reproduce that assertion).

------- Comment #2 From Stephen Cavilia 2006-07-20 09:43:55 0000 -------
Created an attachment (id=92322) [details]
perl test script

This script connects to the notification dbus object and displays a
notification with a 1000ms timeout. After the notification closes (either by
timeout or manual close), notification-daemon will crash. The quod libet notify
plugin also causes the same crash.

------- Comment #3 From Nguyen Thai Ngoc Duy (RETIRED) 2006-07-26 00:52:24 0000 -------
I got that message too. I used test-image in libnotify tarball.
There is an upstream bug that shows a similar message:
http://trac.galago-project.org/ticket/75
This bug may also relate to bug #137793

------- Comment #4 From Saleem Abdulrasool (RETIRED) 2006-07-27 00:14:29 0000 -------
Reopen if you can reproduce with 0.3.5-r1

------- Comment #5 From Stephen Cavilia 2006-08-24 22:19:25 0000 -------
The dbus icon data patch doesn't fix this bug (i guess there are [at least] two
bugs that fail the same assertion). I discovered an upstream report on the real
bug: http://trac.galago-project.org/ticket/77. Applying the
notiication-daemon-gtk.patch listed there fixes the crash.

------- Comment #6 From Saleem Abdulrasool (RETIRED) 2006-08-27 11:28:58 0000 -------
Added patch in -r2.