SF.net SVN: geany-plugins:[910] trunk/geany-plugins/geanylua

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Aug 31 17:04:23 UTC 2009


Revision: 910
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=910&view=rev
Author:   ntrel
Date:     2009-08-31 17:04:22 +0000 (Mon, 31 Aug 2009)

Log Message:
-----------
Print support library path if Geany is in debug mode.

Modified Paths:
--------------
    trunk/geany-plugins/geanylua/ChangeLog
    trunk/geany-plugins/geanylua/geanylua.c
    trunk/geany-plugins/geanylua/glspi_init.c

Modified: trunk/geany-plugins/geanylua/ChangeLog
===================================================================
--- trunk/geany-plugins/geanylua/ChangeLog	2009-08-28 14:38:37 UTC (rev 909)
+++ trunk/geany-plugins/geanylua/ChangeLog	2009-08-31 17:04:22 UTC (rev 910)
@@ -1,3 +1,6 @@
+August 31, 2009 (ntrel)
+  Print support library path if Geany is in debug mode.
+
 August 28, 2009 (ntrel)
   Upgrade to API 153 except for plugin_key_group change (TODO). This
   removes the "make" tool field, "exec" project field, "BUILD_RUN2"

Modified: trunk/geany-plugins/geanylua/geanylua.c
===================================================================
--- trunk/geany-plugins/geanylua/geanylua.c	2009-08-28 14:38:37 UTC (rev 909)
+++ trunk/geany-plugins/geanylua/geanylua.c	2009-08-31 17:04:22 UTC (rev 910)
@@ -167,6 +167,9 @@
 		libname=NULL;
 		return;
 	}
+	if (geany->app->debug_mode) {
+		g_printerr("%s support library path: %s\n", PLUGIN_NAME, libname);
+	}
 	libgeanylua=g_module_open(libname,0);
 	g_free(libname);
 	if (!libgeanylua) {

Modified: trunk/geany-plugins/geanylua/glspi_init.c
===================================================================
--- trunk/geany-plugins/geanylua/glspi_init.c	2009-08-28 14:38:37 UTC (rev 909)
+++ trunk/geany-plugins/geanylua/glspi_init.c	2009-08-31 17:04:22 UTC (rev 910)
@@ -461,7 +461,7 @@
 		local_data.script_dir =
 			g_build_path(G_DIR_SEPARATOR_S, datadir, "geany-plugins", "geanylua", NULL);
 		g_free(datadir);
-  }
+	}
 	if (app->debug_mode) {
 		g_printerr(_("     ==>> %s: Building menu from '%s'\n"),
 			PLUGIN_NAME, local_data.script_dir);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list