~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9c8ae6
)
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
142548b
..
a9d1ae1
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
@@
received."
(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))