Ok, got it working. It turns out that there are some more GTK3 tests in the same file which modify the argument list for the item_inserted_cb. It is necessary to remove all the tests so that only the GTK3 versions are present regardless of whether we are actually using GTK3 or not. Failure to do this caused the callback to be called with the wrong args, causing the segfault.
What I still don't understand: * Why "insert" was special cased, but "remove" was not. * How did this code ever work before. * What changed to make it stop working. -- You received this bug notification because you are a member of DX Packages, which is subscribed to libappindicator in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1203888 Title: appindicator ignores menu entries after having sent the menu to the indicator Status in Glipper: New Status in “blueman” package in Ubuntu: Confirmed Status in “glipper” package in Ubuntu: Triaged Status in “libappindicator” package in Ubuntu: Triaged Bug description: On Saucy, the glipper appindicator shows but none of its menu items show up when left or right-clicking on it. $ glipper SHARED_DATA_DIR: /usr/share/glipper Binding shortcut <Ctrl><Alt>c to popup glipper Changed process name to: glipper /usr/lib/python2.7/dist-packages/glipper/AppIndicator.py:43: Warning: /build/buildd/glib2.0-2.37.3/./gobject/gsignal.c:2475: signal 'child-added' is invalid for instance '0x20c90f0' of type 'GtkMenu' self._app_indicator.set_menu(self.menu) (glipper:20249): LIBDBUSMENU-GLIB-WARNING **: About to Show called on an item wihtout submenus. We're ignoring it. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: glipper 2.4-3 ProcVersionSignature: Ubuntu 3.10.0-4.13-generic 3.10.1 Uname: Linux 3.10.0-4-generic x86_64 ApportVersion: 2.11-0ubuntu1 Architecture: amd64 Date: Mon Jul 22 18:17:16 2013 InstallationDate: Installed on 2013-06-14 (38 days ago) InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613) MarkForUpload: True PackageArchitecture: all SourcePackage: glipper UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/glipper/+bug/1203888/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp