Changeset 4bfca70 for protocols


Ignore:
Timestamp:
2005-12-17T00:48:35Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
32c632f
Parents:
701acdd4
Message:

Add variable for plugindir rather then always using the define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r701acdd4 r4bfca70  
    8282        GError *error = NULL;
    8383
    84         dir = g_dir_open(PLUGINDIR, 0, &error);
     84        dir = g_dir_open(global.conf->plugindir, 0, &error);
    8585
    8686        if (dir) {
     
    8989
    9090                while ((entry = g_dir_read_name(dir))) {
    91                         path = g_build_filename(PLUGINDIR, entry, NULL);
     91                        path = g_build_filename(global.conf->plugindir, entry, NULL);
    9292                        if(!path) {
    9393                                log_message(LOGLVL_WARNING, "Can't build path for %s\n", entry);
Note: See TracChangeset for help on using the changeset viewer.