Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141626 | Differences between
and this patch

Collapse All | Expand All

(-)Linux.old/GtkGui.c (-3 lines)
Lines 723-734 Link Here
723
    strcpy(file, Config.PluginsDir); \
723
    strcpy(file, Config.PluginsDir); \
724
	strcat(file, plugin); \
724
	strcat(file, plugin); \
725
	drv = SysLoadLibrary(file); \
725
	drv = SysLoadLibrary(file); \
726
    getcwd(file, ARRAYSIZE(file)); /* store current dir */  \
727
    chdir(Config.PluginsDir); /* change dirs so that plugins can find their config file*/  \
728
	if (drv == NULL) return; \
726
	if (drv == NULL) return; \
729
	conf = (src) SysLoadSym(drv, name); \
727
	conf = (src) SysLoadSym(drv, name); \
730
	if (SysLibError() == NULL) conf(); \
728
	if (SysLibError() == NULL) conf(); \
731
    chdir(file); /* change back*/       \
732
    SysCloseLibrary(drv);
729
    SysCloseLibrary(drv);
733
730
734
#define TestPlugin(src, confs, plugin, name) \
731
#define TestPlugin(src, confs, plugin, name) \

Return to bug 141626