(tg:finalize proxy (make-boxed-free-finalizer type native))))
(defmethod cleanup-translated-object-for-callback ((type boxed-opaque-foreign-type) proxy native)
+ (declare (ignore native))
(tg:cancel-finalization proxy)
(setf (g-boxed-opaque-pointer proxy) nil))
(list thing)))
(defun parse-variants (parent variants)
- (iter (for var-descr in variants)
- (for (options variant-name . slots) in variants)
+ (iter (for (options variant-name . slots) in variants)
(for variant =
(make-var-structure-variant
:discriminating-values (ensure-list options)
(gobject::g-object-has-reference object) t)))
(progn
,@(iter (for (prop-name prop-type prop-accessor prop-reader prop-writer) in properties)
+ (declare (ignorable prop-type))
(when prop-reader
(collect `(defun ,prop-accessor (object) (g-object-call-get-property object ,prop-name))))
(when prop-writer
(g-value-set-pointer gvalue-ptr value))
(defmethod set-gvalue-for-type (gvalue-ptr (type-numeric (eql +g-type-param+)) value)
+ (declare (ignore gvalue-ptr value))
(error "Setting of GParam is not implemented"))
;;Enums
(slot-boundp object 'pointer))
(defmethod slot-makunbound-using-class ((class gobject-class) object (slot gobject-effective-slot-definition))
+ (declare (ignore object))
nil)
(defun gtk-label-get-layout-offsets (label)
(with-foreign-objects ((x :int) (y :int))
- (gtk-label-get-layout-offsets label x y)
+ (%gtk-label-get-layout-offsets label x y)
(list (mem-ref x :int) (mem-ref y :int))))
(defcfun (label-select-region "gtk_label_select_region") :void
(export 'menu-attached-to-widget)
-(defcfun (radio-menu-item-group "gtk_radio_menu_item_get_group") (glist (g-object radio-menu-item) :free-from-foreign nil)
- (radio-menu-item (g-object radio-menu-item)))
-
-(export 'radio-menu-item-group)
-
(defcfun (tool-shell-rebuild-menu "gtk_tool_shell_rebuild_menu") :void
(shell (g-object tool-shell)))
(setf (tree-iter-stamp iter) 0 (tree-iter-user-data iter) (first indices))
t)))
-(defmethod tree-model-ref-node-impl ((model array-list-store) iter))
-(defmethod tree-model-unref-node-impl ((model array-list-store) iter))
+(defmethod tree-model-ref-node-impl ((model array-list-store) iter)
+ (declare (ignorable model iter)))
+(defmethod tree-model-unref-node-impl ((model array-list-store) iter)
+ (declare (ignorable model iter)))
(defmethod tree-model-iter-next-impl ((model array-list-store) iter)
(let ((n (tree-iter-user-data iter)))
t)))
(defmethod tree-model-iter-nth-child-impl ((model array-list-store) iter parent n)
+ (declare (ignorable parent))
(setf (tree-iter-stamp iter) 0
(tree-iter-user-data iter) n)
t)
path))
(defmethod tree-model-iter-has-child-impl ((model array-list-store) iter)
+ (declare (ignorable iter))
nil)
(defgeneric tree-model-item (model iter-or-path))
(tree-iter-user-data iter) (get-assigned-id store (tree-node-parent node))))))
(defmethod tree-model-ref-node-impl ((store tree-lisp-store) iter)
- )
+ (declare (ignorable iter)))
(defmethod tree-model-unref-node-impl ((store tree-lisp-store) iter)
- )
+ (declare (ignorable iter)))
(defun notice-tree-node-insertion (tree node child index)
(declare (ignore node index))