about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-03-31 21:05:02 +0100
committerJames Booth <boothj5@gmail.com>2016-03-31 21:05:02 +0100
commit9b177a9e0156bae0a7a01cb15b3afc982dd2582e (patch)
tree45ade45ae92ef543d06c29ccafeb48dea834ba35 /src/plugins
parentc91ce78a0419dc3e624eeffdc870b549e5cdc64f (diff)
downloadprofani-tty-9b177a9e0156bae0a7a01cb15b3afc982dd2582e.tar.gz
Removed #AX_PREFIX_CONFIG_H
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugins.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index e8821957..87b892d1 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -35,7 +35,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include "prof_config.h"
+#include "config.h"
 #include "common.h"
 #include "config/preferences.h"
 #include "log.h"
@@ -46,12 +46,12 @@
 #include "plugins/themes.h"
 #include "plugins/settings.h"
 
-#ifdef PROF_HAVE_PYTHON
+#ifdef HAVE_PYTHON
 #include "plugins/python_plugins.h"
 #include "plugins/python_api.h"
 #endif
 
-#ifdef PROF_HAVE_C
+#ifdef HAVE_C
 #include "plugins/c_plugins.h"
 #include "plugins/c_api.h"
 #endif
@@ -67,10 +67,10 @@ plugins_init(void)
     callbacks_init();
     autocompleters_init();
 
-#ifdef PROF_HAVE_PYTHON
+#ifdef HAVE_PYTHON
     python_env_init();
 #endif
-#ifdef PROF_HAVE_C
+#ifdef HAVE_C
     c_env_init();
 #endif
 
@@ -85,7 +85,7 @@ plugins_init(void)
         {
             gboolean loaded = FALSE;
             gchar *filename = plugins_load[i];
-#ifdef PROF_HAVE_PYTHON
+#ifdef HAVE_PYTHON
             if (g_str_has_suffix(filename, ".py")) {
                 ProfPlugin *plugin = python_plugin_create(filename);
                 if (plugin) {
@@ -94,7 +94,7 @@ plugins_init(void)
                 }
             }
 #endif
-#ifdef PROF_HAVE_C
+#ifdef HAVE_C
             if (g_str_has_suffix(filename, ".so")) {
                 ProfPlugin *plugin = c_plugin_create(filename);
                 if (plugin) {
@@ -112,7 +112,7 @@ plugins_init(void)
         GSList *curr = plugins;
         while (curr) {
             ProfPlugin *plugin = curr->data;
-            plugin->init_func(plugin, PROF_PACKAGE_VERSION, PROF_PACKAGE_STATUS);
+            plugin->init_func(plugin, PACKAGE_VERSION, PACKAGE_STATUS);
             curr = g_slist_next(curr);
         }
     }
@@ -554,12 +554,12 @@ plugins_shutdown(void)
     GSList *curr = plugins;
 
     while (curr) {
-#ifdef PROF_HAVE_PYTHON
+#ifdef HAVE_PYTHON
         if (((ProfPlugin *)curr->data)->lang == LANG_PYTHON) {
             python_plugin_destroy(curr->data);
         }
 #endif
-#ifdef PROF_HAVE_C
+#ifdef HAVE_C
         if (((ProfPlugin *)curr->data)->lang == LANG_C) {
             c_plugin_destroy(curr->data);
         }
@@ -567,10 +567,10 @@ plugins_shutdown(void)
 
         curr = g_slist_next(curr);
     }
-#ifdef PROF_HAVE_PYTHON
+#ifdef HAVE_PYTHON
     python_shutdown();
 #endif
-#ifdef PROF_HAVE_C
+#ifdef HAVE_C
     c_shutdown();
 #endif