After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685865 - GtkRecentChooser test fails with Gtk+ 2.24.12
GtkRecentChooser test fails with Gtk+ 2.24.12
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
: 692043 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-10-10 09:11 UTC by Colin Watson
Modified: 2013-01-19 10:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Forcibly emit GtkRecentManager::changed signal (991 bytes, patch)
2012-10-10 09:12 UTC, Colin Watson
committed Details | Review

Description Colin Watson 2012-10-10 09:11:07 UTC
https://bugs.launchpad.net/ubuntu/+source/libgtk2-perl/+bug/1056811
http://lists.debian.org/debian-perl/2012/09/msg00069.html

With Gtk+ 2.24.12 and perl-Gtk2 1.244, the GtkRecentChooser test is failing with:

*** unhandled exception in callback:
***   No item for URI 'file:///build/buildd/libgtk2-perl-1.244/t/GtkRecentChooser.t' found at t/GtkRecentChooser.t line 58.
***  ignoring at /build/buildd/libgtk2-perl-1.244/blib/lib/Gtk2/TestHelper.pm line 84.

This is fallout from https://bugzilla.gnome.org/show_bug.cgi?id=616997, which made gtk_recent_manager_add_item even more asynchronous than it previously was.  The attached patch fixes this, tested on Ubuntu 12.10.
Comment 1 Colin Watson 2012-10-10 09:12:08 UTC
Created attachment 226161 [details] [review]
Forcibly emit GtkRecentManager::changed signal
Comment 2 Torsten Schoenfeld 2013-01-03 18:14:46 UTC
Looks good, thanks a lot.
Comment 3 Torsten Schoenfeld 2013-01-19 10:48:22 UTC
*** Bug 692043 has been marked as a duplicate of this bug. ***