rest gtk-icon-factory- functions
authorAndrey Kutejko <andy128k@gmail.com>
Tue, 24 Nov 2009 21:54:14 +0000 (23:54 +0200)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Thu, 26 Nov 2009 18:01:27 +0000 (21:01 +0300)
gtk/gtk.icon-factory.lisp

index d8502ad..3c9086b 100644 (file)
@@ -133,8 +133,17 @@ const gchar*        gtk_icon_size_get_name              (GtkIconSize size);
 
 (export 'icon-factory-lookup)
 
-#|
-GtkIconSet*         gtk_icon_factory_lookup_default     (const gchar *stock_id);
-void                gtk_icon_factory_remove_default     (GtkIconFactory *factory);
-|#
+(defcfun gtk-icon-factory-lookup-default (g-boxed-foreign icon-set :return)
+  (stock-id :string))
+
+(defun icon-factory-lookup-default (stock-id)
+  (gtk-icon-factory-lookup-default stock-id))
+
+(export 'icon-factory-lookup-default)
+
+(defcfun gtk-icon-factory-remove-default :void
+  (factory (g-object icon-factory)))
+
+(defun icon-factory-remove-default (factory)
+  (gtk-icon-factory-remove-default factory))