Revision 4369262879da43287a40c7a0cbebf8cb7a28f08d
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Sat Mar 24 17:14:49 EDT 2007
o -----------------------------------------------------------------
| Revision: 4369262879da43287a40c7a0cbebf8cb7a28f08d
| Ancestor: 4273b6d39e5b6b9c2ca991589e0a82e9ebe25e60
| Author: nosnilmot at pidgin.im
| Date: 2007-03-24T20:41:40
| Branch: im.pidgin.pidgin
|
| Modified files:
| finch/plugins/Makefile.am finch/plugins/gntclipboard.c
|
| ChangeLog:
|
| 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
|
|
| ============================================================
| --- finch/plugins/Makefile.am 02c982f3572f180c92392d56b5784a7bfe7a0b44
| +++ finch/plugins/Makefile.am 788afb20a009ed2aa912ff2b4bcfc3ab38c6c3e0
| @@ -1,3 +1,4 @@
| +gntclipboard_la_LDFLAGS = -module -avoid-version
| gntgf_la_LDFLAGS = -module -avoid-version
| gnthistory_la_LDFLAGS = -module -avoid-version
| gntlastlog_la_LDFLAGS = -module -avoid-version
| @@ -5,18 +6,21 @@ plugin_LTLIBRARIES = \
| if PLUGINS
|
| plugin_LTLIBRARIES = \
| + gntclipboard.la \
| gntgf.la \
| gnthistory.la \
| gntlastlog.la
|
| plugindir = $(libdir)/finch
|
| +gntclipboard_la_SOURCES = gntclipboard.c
| gntgf_la_SOURCES = gntgf.c
| gnthistory_la_SOURCES = gnthistory.c
| gntlastlog_la_SOURCES = lastlog.c
|
| gntgf_la_CFLAGS = $(X11_CFLAGS)
|
| +gntclipboard_la_LIBADD = $(GLIB_LIBS)
| gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la
| gnthistory_la_LIBADD = $(GLIB_LIBS)
| gntlastlog_la_LIBADD = $(GLIB_LIBS)
| ============================================================
| --- finch/plugins/gntclipboard.c b608256e1a88532cd9f10b04b16514bec0212487
| +++ finch/plugins/gntclipboard.c ca6133b58589fc324e0dd4c8b09f142e1ba27bdf
| @@ -110,10 +110,12 @@ plugin_load(PurplePlugin *plugin)
| 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;
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from 4369262879da43287a40c7a0cbebf8cb7a28f08d
More information about the Commits
mailing list