Index: panel/panel-item-manager.c =================================================================== --- panel/panel-item-manager.c (revision 23136) +++ panel/panel-item-manager.c (working copy) @@ -359,7 +359,9 @@ XfcePanelPluginFunc (*get_construct) (void); XfcePanelPluginCheck (*get_check) (void); - if (!(class->gmodule = g_module_open (class->file, 0))) + class->gmodule = g_module_open (class->file, G_MODULE_BIND_LAZY); + + if (G_UNLIKELY (class->gmodule == NULL)) { g_critical ("Could not open \"%s\": %s", class->name, g_module_error ());