Mailinglist Archive: opensuse-bugs (14006 mails)

< Previous Next >
[Bug 380339] multiple slabs ...
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 22 Apr 2008 10:23:56 -0600 (MDT)
  • Message-id: <20080422162356.A6D77CC6CC@xxxxxxxxxxxxxxxxxxxxxx>

User federico@xxxxxxxxxx added comment

--- Comment #4 from Federico Mena Quintero <federico@xxxxxxxxxx> 2008-04-22
10:23:56 MST ---
The problem is that src/main-menu.c:main_menu_applet_init(), which is the
applet's factory function, calls libslab_thumbnail_factory_preinit(). This
then gets called a second time for the second slab.

The right solution is to do something like

libslab_thumbnail_factory_preinit ()
if (thumbnail_factory_idle_id != 0)
thumbnail_factory_idle_id = g_idle_add (init_thumbnail_factory_idle_cb,

instead of unconditionally setting up the idle handler.

(The assertion you ran into means "I don't want to create the thumbnail factory
twice, to avoid leaking --- it's really doing what it intends to do :)

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >