Don't hardcode paths

Sometimes I'm really, really dumb.
This commit is contained in:
Ben Wiederhake 2016-01-01 18:48:40 +01:00
parent d498c116ed
commit a22204df13

View file

@ -157,7 +157,7 @@ static void tdf_inject_plugin (void) {
purple_plugins_init ();
GList *search_paths = purple_plugins_get_search_paths ();
assert (!search_paths->prev && !search_paths->next && search_paths->data);
GList *new_paths = g_list_append (search_paths, g_strdup ("/home/eispin/workspace/telegram-purple/bin/"));
GList *new_paths = g_list_append (search_paths, g_strdup ("bin/"));
assert (new_paths == search_paths);
// Load "my" path before the default.
assert (search_paths->next && search_paths->next->data);