From: Jan Moringen Date: Sat, 5 Feb 2011 17:48:34 +0000 (+0100) Subject: Fixed a documentation string in cairo/cairo.lisp X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=a2741b58f32035175efccf50bf783d2750dda1c2;p=cl-gtk2.git Fixed a documentation string in cairo/cairo.lisp --- diff --git a/cairo/cairo.lisp b/cairo/cairo.lisp index 4cd1928..41b9b0f 100644 --- a/cairo/cairo.lisp +++ b/cairo/cairo.lisp @@ -4,9 +4,9 @@ (defclass gdk-context (cl-cairo2:context) ()) - + (defun create-gdk-context (gdk-drawable) - "creates an context to draw on a GTK widget, more precisely on the + "Creates a context to draw on a GTK widget, more precisely on the associated gdk-window. This should only be called from within the expose event. In cells-gtk, use (gtk-adds-widget-window gtk-pointer) to obtain the gdk-window. 'gtk-pointer' is the pointer parameter @@ -61,4 +61,4 @@ to the expose event handler." (drawable (g-object drawable))) (defun gdk-cairo-reset-clip (drawable &optional (context cl-cairo2:*context*)) - (gdk_cairo_reset_clip (slot-value context 'cl-cairo2:pointer) drawable)) \ No newline at end of file + (gdk_cairo_reset_clip (slot-value context 'cl-cairo2:pointer) drawable))