From: Matt Birkholz <matt@birchwood-abbey.net>
Date: Mon, 19 Mar 2018 00:39:56 +0000 (-0700)
Subject: gtk: Increment version.
X-Git-Tag: mit-scheme-pucked-x11-0.2.2~13
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c8482870ffb2d831d71b3227ad0346db71dd9dc8;p=mit-scheme.git

gtk: Increment version.
---

diff --git a/src/gtk/NEWS b/src/gtk/NEWS
index 10f127041..3d171f484 100644
--- a/src/gtk/NEWS
+++ b/src/gtk/NEWS
@@ -19,6 +19,11 @@ You should have received a copy of the GNU General Public License
 along with this plugin; if not, write to the Free Software Foundation,
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+mit-scheme-pucked-gtk 0.6 - Matt Birkholz, 2018-03-16
+=====================================================
+
+Require the use of with-glib-lock.
+
 mit-scheme-pucked-gtk 0.5 - Matt Birkholz, 2016-06-12
 =====================================================
 
diff --git a/src/gtk/configure.ac b/src/gtk/configure.ac
index 848a043fe..2d0edf19a 100644
--- a/src/gtk/configure.ac
+++ b/src/gtk/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
 AC_INIT([MIT/GNU Scheme Pucked gtk plugin],
-        [0.5],
+        [0.6],
         [matt@birchwood-abbey.net],
         [mit-scheme-pucked-gtk])
 AC_CONFIG_SRCDIR([gtk.pkg])
diff --git a/src/gtk/debian/changelog b/src/gtk/debian/changelog
index b176c4311..02fdc6df7 100644
--- a/src/gtk/debian/changelog
+++ b/src/gtk/debian/changelog
@@ -1,3 +1,9 @@
+mit-scheme-pucked-gtk (0.6) birchwood; urgency=low
+
+  * Require the use of with-glib-lock.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net>  Fri, 16 Mar 2018 00:00:00 -0700
+
 mit-scheme-pucked-gtk (0.5) birchwood; urgency=low
 
   * Initial Debianization.
diff --git a/src/gtk/gtk.texi b/src/gtk/gtk.texi
index 16ba4f2fd..96ecd0433 100644
--- a/src/gtk/gtk.texi
+++ b/src/gtk/gtk.texi
@@ -87,6 +87,12 @@ collector.  When Scheme's representative of a toolkit resource is
 dropped and collected, the toolkit resource is freed, just as the
 C/Unix FFI's malloced aliens are automatically freed.
 
+The Gtk toolkits are built ``on top'' of GLib, which is not
+thread-safe.  To ensure that just one Scheme thread is ``in'' the
+toolkits, the @code{with-glib-lock} procedure should be used, else
+every callout will write a warning line to stderr.
+@xref{with-glib-lock, , , glib, GLib Plugin Manual}.
+
 @unnumberedsec Hello, World!
 
 Here is the ``Hello, World!'' program from the C/Unix FFI
diff --git a/src/gtk/make.scm b/src/gtk/make.scm
index 29c36daab..254825b39 100644
--- a/src/gtk/make.scm
+++ b/src/gtk/make.scm
@@ -7,5 +7,5 @@ Load the Gtk option. |#
 (with-loader-base-uri (system-library-uri "gtk/")
   (lambda ()
     (load-package-set "gtk")))
-(add-subsystem-identification! "Gtk" '(0 5))
+(add-subsystem-identification! "Gtk" '(0 6))
 ((access gtk-start (->environment '(gtk main))))
\ No newline at end of file