]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.gtk: update to new with-out-parameters combinator
authorAnton Gorenko <ex.rzrjck@gmail.com>
Sat, 17 Jul 2010 08:25:59 +0000 (14:25 +0600)
committerAnton Gorenko <ex.rzrjck@gmail.com>
Sat, 17 Jul 2010 08:25:59 +0000 (14:25 +0600)
basis/ui/backend/gtk/gtk.factor

index 285b96a7c239ffa6fa6b65db2e86c32fb40ccf94..4d72abdd5ea6fd1dc5f17281f7c4b156a6c6e380 100644 (file)
@@ -58,7 +58,7 @@ M: gtk-ui-backend (free-pixel-format)
 
 M: gtk-ui-backend (pixel-format-attribute)
     [ handle>> ] [ >gl-config-attribs ] bi*
-    { int } [ gdk_gl_config_get_attrib drop ] [ ]
+    { int } [ gdk_gl_config_get_attrib drop ]
     with-out-parameters ;
 
 CONSTANT: events-mask
@@ -354,8 +354,8 @@ M: editor get-cursor-loc&dim
 
 : get-preedit-string ( im-context -- str cursor-pos )
     { void* int } [ f swap gtk_im_context_get_preedit_string ]
-    [ [ [ utf8 alien>string ] [ g_free ] bi ] dip ]
-    with-out-parameters ;
+    with-out-parameters 
+    [ [ utf8 alien>string ] [ g_free ] bi ] dip ;
             
 : on-preedit-changed ( im-context user-data -- )
     window world-focus dup support-input-methods? [