[Gnucash-changes] r11820 - gnucash/trunk/src/gnome-utils - Tell which plugin failed to load.

David Hampton hampton at cvs.gnucash.org
Thu Nov 3 15:05:50 EST 2005


Author: hampton
Date: 2005-11-03 15:05:49 -0500 (Thu, 03 Nov 2005)
New Revision: 11820

Modified:
   gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c
Log:
Tell which plugin failed to load.

Modified: gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c	2005-11-03 18:20:42 UTC (rev 11819)
+++ gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c	2005-11-03 20:05:49 UTC (rev 11820)
@@ -211,7 +211,7 @@
   if (!*out_plot)
   {
     // FIXME - log betterer; should probably use GError?
-    printf("plugin not loaded");
+    g_warning("gog: unable to load %s plugin", plot_type_name);
     return FALSE;
   }
   gog_object_add_by_name(*out_chart, "Plot", GOG_OBJECT(*out_plot) );



More information about the gnucash-changes mailing list