From 75247e6520ab265106ff852143998e37a09caac1 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 13 Sep 2012 17:42:45 +0000 Subject: [PATCH] Ativando leitura de plugins do diretorio de instalacao --- src/pw3270/plugin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pw3270/plugin.c b/src/pw3270/plugin.c index 77f60b6..ede142c 100644 --- a/src/pw3270/plugin.c +++ b/src/pw3270/plugin.c @@ -124,8 +124,12 @@ G_GNUC_INTERNAL void init_plugins(GtkWidget *widget) { -#ifdef DEBUG +#if defined(DEBUG) load("." G_DIR_SEPARATOR_S "plugins", widget); +#else + gchar *path = pw3270_build_filename(widget,"plugins",NULL); + load(path, widget); + g_free(path); #endif } -- libgit2 0.21.2