From: espen Date: Mon, 6 Feb 2006 19:16:17 +0000 (+0000) Subject: Fixed ref counting problem when reading the icon-list slot in windows X-Git-Tag: clg-0-92~79 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/commitdiff_plain/5884be5c1dd5f6dfa460088a9332230fe1a1d7af Fixed ref counting problem when reading the icon-list slot in windows --- diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index b17cb0b..a8d3d19 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.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. -;; $Id: gtk.lisp,v 1.48 2006/02/04 12:17:45 espen Exp $ +;; $Id: gtk.lisp,v 1.49 2006/02/06 19:16:17 espen Exp $ (in-package "GTK") @@ -1457,6 +1457,9 @@ (defbinding decorated-window-move-resize-window () nil (width int) (heigth int)) +(defbinding %window-get-icon-list () (glist (copy-of gdk:pixbuf)) + (window window)) + ;;; Window group diff --git a/gtk/gtktypes.lisp b/gtk/gtktypes.lisp index 9d3dabf..0cc9478 100644 --- a/gtk/gtktypes.lisp +++ b/gtk/gtktypes.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. -;; $Id: gtktypes.lisp,v 1.41 2006/02/06 11:59:47 espen Exp $ +;; $Id: gtktypes.lisp,v 1.42 2006/02/06 19:16:17 espen Exp $ (in-package "GTK") @@ -307,7 +307,7 @@ (default-widget :type boolean) (icon-list :allocation :virtual - :getter "gtk_window_get_icon_list" + :getter %window-get-icon-list :setter "gtk_window_set_icon_list" :accessor window-icon-list :initarg :icon-list