[Xfce4-commits] r25753 - in xfce4-panel/trunk: . panel

Nick Schermer nick at xfce.org
Thu May 24 14:01:33 CEST 2007


Author: nick
Date: 2007-05-24 12:01:32 +0000 (Thu, 24 May 2007)
New Revision: 25753

Modified:
   xfce4-panel/trunk/ChangeLog
   xfce4-panel/trunk/panel/panel-item-manager.c
Log:
	* panel/panel-item-manager.c: Improve the module warnings a bit.

Modified: xfce4-panel/trunk/ChangeLog
===================================================================
--- xfce4-panel/trunk/ChangeLog	2007-05-24 07:23:29 UTC (rev 25752)
+++ xfce4-panel/trunk/ChangeLog	2007-05-24 12:01:32 UTC (rev 25753)
@@ -1,3 +1,7 @@
+2007-05-24 14:00 nick
+
+	* panel/panel-item-manager.c: Improve the module warnings a bit.
+
 2007-05-23 9:44 nick
 
 	* libxfce4panel/libxfce4panel-1.0.pc.in: Restore directories in the pc file.

Modified: xfce4-panel/trunk/panel/panel-item-manager.c
===================================================================
--- xfce4-panel/trunk/panel/panel-item-manager.c	2007-05-24 07:23:29 UTC (rev 25752)
+++ xfce4-panel/trunk/panel/panel-item-manager.c	2007-05-24 12:01:32 UTC (rev 25753)
@@ -387,8 +387,8 @@
 
     if (G_UNLIKELY (klass->gmodule == NULL))
     {
-        g_critical ("Could not open \"%s\": %s",
-                    klass->name, g_module_error ());
+        g_critical ("Could not open module \"%s\" (%s): %s",
+                    klass->name, klass->file, g_module_error ());
         return FALSE;
     }
 
@@ -396,8 +396,8 @@
                                       "xfce_panel_plugin_get_construct",
                                       &symbol)))
     {
-        g_critical ("Could not open \"%s\": %s",
-                    klass->name, g_module_error ());
+        g_critical ("Could not open symbol in module \"%s\" (%s): %s",
+                    klass->name, klass->file, g_module_error ());
 
         g_module_close (klass->gmodule);
         klass->gmodule = NULL;



More information about the Xfce4-commits mailing list