Mercurial > pidgin
diff finch/plugins/gntclipboard.c @ 15891:886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
include gntclipboard.c in EXTRA_DIST so it gets included in tarballs
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 24 Mar 2007 20:41:40 +0000 |
parents | 4c707efebc0c |
children | 30829e806dae |
line wrap: on
line diff
--- a/finch/plugins/gntclipboard.c Sat Mar 24 20:08:30 2007 +0000 +++ b/finch/plugins/gntclipboard.c Sat Mar 24 20:41:40 2007 +0000 @@ -110,10 +110,12 @@ static gboolean plugin_load(PurplePlugin *plugin) { +#ifdef HAVE_X11 if (!XOpenDisplay(NULL)) { purple_debug_warning("gntclipboard", "Couldn't find X display\n"); return FALSE; } +#endif if (!getenv("WINDOWID")) { purple_debug_warning("gntclipboard", "Couldn't find window\n"); return FALSE;