Commit 75247e6520ab265106ff852143998e37a09caac1

Authored by perry.werneck@gmail.com
1 parent cb86a1b4

Ativando leitura de plugins do diretorio de instalacao

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/pw3270/plugin.c
... ... @@ -124,8 +124,12 @@
124 124  
125 125 G_GNUC_INTERNAL void init_plugins(GtkWidget *widget)
126 126 {
127   -#ifdef DEBUG
  127 +#if defined(DEBUG)
128 128 load("." G_DIR_SEPARATOR_S "plugins", widget);
  129 +#else
  130 + gchar *path = pw3270_build_filename(widget,"plugins",NULL);
  131 + load(path, widget);
  132 + g_free(path);
129 133 #endif
130 134  
131 135 }
... ...