mail-archives/gtk-sharp-list/2004-August/004648.html

122 строки
5.9 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:02:55 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Some null_ok additions
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:lewing%40ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="004645.html">
<LINK REL="Next" HREF="004649.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Some null_ok additions
</H1>
<B>Larry Ewing
</B>
<A HREF="mailto:lewing%40ximian.com"
TITLE="[Gtk-sharp-list] Some null_ok additions">lewing@ximian.com
</A><BR>
<I>Thu, 12 Aug 2004 10:59:00 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="004645.html">[Gtk-sharp-list] images with glade (or without?)
</A></li>
<LI> Next message: <A HREF="004649.html">[Gtk-sharp-list] Mac Install Help Please ...
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4648">[ date ]</a>
<a href="thread.html#4648">[ thread ]</a>
<a href="subject.html#4648">[ subject ]</a>
<a href="author.html#4648">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>--=-OCw3A15ySdSsCJ0XbqLs
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
These two were missing null_ok.
Gtk.Image appears to be a bit of a mess with respect to setting Pixbufs
in general, the Pixbuf prop should allow nulls too but I can't tag it
that way because the generator can't find the setter. Instead because
of name changes and ends up creating two differnt properties one write
only. I didn't fix that, I just made the write only one take null.
--Larry
--=-OCw3A15ySdSsCJ0XbqLs
Content-Disposition: attachment; filename=null_ok.diff
Content-Type: text/x-patch; name=null_ok.diff; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Index: ChangeLog
===================================================================
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.883
diff -u -p -r1.883 ChangeLog
--- ChangeLog 4 Aug 2004 08:36:37 -0000 1.883
+++ ChangeLog 12 Aug 2004 14:48:24 -0000
@@ -1,3 +1,8 @@
+2004-08-12 Larry Ewing &lt;<A HREF="mailto:lewing@novell.com">lewing@novell.com</A>&gt;
+
+ * gtk/Gtk.metadata: mark Image.FromPixbuf null_ok.
+ * gdk/Gdk.metadata: mark cmap in GetFromDrawable null_ok.
+
2004-08-04 Raja R Harinath &lt;<A HREF="mailto:rharinath@novell.com">rharinath@novell.com</A>&gt;
* configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18.
Index: gdk/Gdk.metadata
===================================================================
RCS file: /cvs/public/gtk-sharp/gdk/Gdk.metadata,v
retrieving revision 1.33
diff -u -p -r1.33 Gdk.metadata
--- gdk/Gdk.metadata 24 Jul 2004 23:36:39 -0000 1.33
+++ gdk/Gdk.metadata 12 Aug 2004 14:48:24 -0000
@@ -47,6 +47,7 @@
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='AddAlpha']&quot; name=&quot;hidden&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='CompositeColorSimple']&quot; name=&quot;hidden&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='GetFromDrawable']&quot; name=&quot;library&quot;&gt;libgdk-win32-2.0-0.dll&lt;/attr&gt;
+ &lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='GetFromDrawable']/*/*[@name='cmap']&quot; name=&quot;null_ok&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='GetFormats']&quot; name=&quot;hidden&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='GetFromImage']&quot; name=&quot;library&quot;&gt;libgdk-win32-2.0-0.dll&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GdkPixbuf']/method[@name='GetPixels']&quot; name=&quot;hidden&quot;&gt;1&lt;/attr&gt;
Index: gtk/Gtk.metadata
===================================================================
RCS file: /cvs/public/gtk-sharp/gtk/Gtk.metadata,v
retrieving revision 1.65
diff -u -p -r1.65 Gtk.metadata
--- gtk/Gtk.metadata 16 Jul 2004 19:24:58 -0000 1.65
+++ gtk/Gtk.metadata 12 Aug 2004 14:48:24 -0000
@@ -126,6 +126,7 @@
&lt;attr path=&quot;/api/namespace/object[@cname='GtkImage']/constructor[@cname='gtk_image_new_from_icon_set']/*/*[@name='size']&quot; name=&quot;property_name&quot;&gt;icon_size&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GtkImage']/constructor[@cname='gtk_image_new_from_stock']/*/*[@name='stock_id']&quot; name=&quot;property_name&quot;&gt;stock&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GtkImage']/constructor[@cname='gtk_image_new_from_stock']/*/*[@name='size']&quot; name=&quot;property_name&quot;&gt;icon_size&lt;/attr&gt;
+ &lt;attr path=&quot;/api/namespace/object[@cname='GtkImage']/method[@name='SetFromPixbuf']/*/*[@type='GdkPixbuf*']&quot; name=&quot;null_ok&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GtkImage']/method[@name='SetFromPixmap']/*/*[@type='GdkBitmap*']&quot; name=&quot;null_ok&quot;&gt;1&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GtkIMContext']/signal[@name='DeleteSurrounding']&quot; name=&quot;name&quot;&gt;SurroundingDeleted&lt;/attr&gt;
&lt;attr path=&quot;/api/namespace/object[@cname='GtkInvisible']/property[@name='Screen']&quot; name=&quot;new_flag&quot;&gt;1&lt;/attr&gt;
--=-OCw3A15ySdSsCJ0XbqLs--
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="004645.html">[Gtk-sharp-list] images with glade (or without?)
</A></li>
<LI> Next message: <A HREF="004649.html">[Gtk-sharp-list] Mac Install Help Please ...
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4648">[ date ]</a>
<a href="thread.html#4648">[ thread ]</a>
<a href="subject.html#4648">[ subject ]</a>
<a href="author.html#4648">[ author ]</a>
</LI>
</UL>
</body></html>