Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 16 Feb 2015 13:37:32 UTC Commit: 09f9363515f23dee9abf4e0d6da6bff861570711 https://github.com/geany/geany-plugins/commit/09f9363515f23dee9abf4e0d6da6bf...
Log Message: ----------- git-ui: Use the plugin name from the build system
Modified Paths: -------------- git-ui/src/Makefile.am git-ui/src/ggu-plugin.c
Modified: git-ui/src/Makefile.am 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -4,7 +4,8 @@ plugin = git-ui geanyplugins_LTLIBRARIES = git-ui.la
git_ui_la_SOURCES = ggu-plugin.c -git_ui_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN="GitUI" +git_ui_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN="GitUI" \ + -DPLUGIN=""$(plugin)"" git_ui_la_CFLAGS = $(AM_CFLAGS) $(GITUI_CFLAGS) git_ui_la_LIBADD = $(COMMONLIBS) \ $(GITUI_LIBS)
Modified: git-ui/src/ggu-plugin.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -54,7 +54,7 @@ PLUGIN_SET_TRANSLATABLE_INFO ( #define QUIT_THREAD_JOB ((AsyncBlobJob *) (&G_queue))
#define RESOURCES_ALLOCATED_QTAG \ - (g_quark_from_static_string ("ggu-git-resources-allocated")) + (g_quark_from_static_string (PLUGIN"/git-resources-allocated"))
enum { @@ -318,7 +318,7 @@ get_cached_blob_async (const gchar *path, if (! G_thread) { G_queue = g_async_queue_new (); #if GLIB_CHECK_VERSION (2, 32, 0) - G_thread = g_thread_new ("ggu-git/blob-worker", worker_thread, G_queue); + G_thread = g_thread_new (PLUGIN"/blob-worker", worker_thread, G_queue); #else G_thread = g_thread_create (worker_thread, G_queue, NULL, NULL); #endif
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org