chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
baf43ea
)
Widget-modify-font now takes the correct number of arguments, and font description...
author
espen
<espen>
Mon, 10 Apr 2006 18:42:08 +0000
(18:42 +0000)
committer
espen
<espen>
Mon, 10 Apr 2006 18:42:08 +0000
(18:42 +0000)
gtk/gtkwidget.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gtk/gtkwidget.lisp
b/gtk/gtkwidget.lisp
index 9cb149fd4ffa6af607fe222e6dbb64c3f6e44278..0a9c48a2da06920a9cb2ea26ef0ee2e7ea40b697 100644
(file)
--- a/
gtk/gtkwidget.lisp
+++ b/
gtk/gtkwidget.lisp
@@
-20,7
+20,7
@@
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;; $Id: gtkwidget.lisp,v 1.2
0 2006/02/26 15:24:46
espen Exp $
+;; $Id: gtkwidget.lisp,v 1.2
1 2006/04/10 18:42:08
espen Exp $
(in-package "GTK")
(in-package "GTK")
@@
-333,10
+333,12
@@
(defbinding widget-modify-base () nil
(state state-type)
(color gdk:color))
(state state-type)
(color gdk:color))
-(defbinding widget-modify-font () nil
+(defbinding widget-modify-font (
widget font-desc
) nil
(widget widget)
(widget widget)
- (state state-type)
- (font-desc pango:font-description))
+ ((etypecase font-desc
+ (pango:font-description font-desc)
+ (string (pango:font-description-from-string font-desc)))
+ pango:font-description))
(defbinding widget-create-pango-context () pango:context
(widget widget))
(defbinding widget-create-pango-context () pango:context
(widget widget))