[Gtk-sharp-list] Added const-guchar to SymbolTable.cs

Martin Willemoes Hansen mwh@sysrq.dk
Sun, 28 Sep 2003 15:20:47 +0200


--=-+Tyj+qVyzLRcCflFFbSb
Content-Type: multipart/alternative; boundary="=-lNfGv1NelqdKwXabrI2y"


--=-lNfGv1NelqdKwXabrI2y
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Sat, 2003-09-27 at 23:21, Mike Kestner wrote:

> On Sat, 2003-09-27 at 22:39 +0200, Martin Willemoes Hansen wrote: 
> 
> > Yes aparently. At least they do in gnome-print. I notice some other
> > places as well.
> > 
> > Hope I can commit it?
> 
> I think in most cases a guchar* is going to point to raw byte data, and
> we shouldn't be mapping it to a string by default.  I'd be more inclined
> to map the gnomeprint params to gchars via metadata wherever they are
> representing strings with guchar*. 


Okay, I have a new patch, which maps const-guchar to const-gchar for
GnomePrint.

Okay to commit?

-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
IRC     MWH, freenode.net
--------------------------------------------------------               


--=-lNfGv1NelqdKwXabrI2y
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Sat, 2003-09-27 at 23:21, Mike Kestner wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>On Sat, 2003-09-27 at 22:39 +0200, Martin Willemoes Hansen wrote: 

&gt; Yes aparently. At least they do in gnome-print. I notice some other
&gt; places as well.
&gt; 
&gt; Hope I can commit it?

I think in most cases a guchar* is going to point to raw byte data, and
we shouldn't be mapping it to a string by default.  I'd be more inclined
to map the gnomeprint params to gchars via metadata wherever they are
representing strings with guchar*. </I></FONT></PRE>
</BLOCKQUOTE>
<BR>
Okay, I have a new patch, which maps const-guchar to const-gchar for GnomePrint.<BR>
<BR>
Okay to commit?
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
IRC     MWH, freenode.net
--------------------------------------------------------               
</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-lNfGv1NelqdKwXabrI2y--

--=-+Tyj+qVyzLRcCflFFbSb
Content-Disposition: attachment; filename=const-gucharVsconst-gchar.diff
Content-Type: text/x-patch; name=const-gucharVsconst-gchar.diff; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

? const-gucharVsconst-gchar.diff
Index: ChangeLog
===================================================================
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.476
diff -u -r1.476 ChangeLog
--- ChangeLog	28 Sep 2003 11:20:00 -0000	1.476
+++ ChangeLog	28 Sep 2003 13:32:19 -0000
@@ -2,6 +2,8 @@
 
 	* sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui
 	* api/gnome-api.xml: Ditto
+	* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*, 
+	  when the value is realy a string
 
 2003-09-23  John Luke  <jluke@cfl.rr.com>
 
Index: api/gnome-api.xml
===================================================================
RCS file: /cvs/public/gtk-sharp/api/gnome-api.xml,v
retrieving revision 1.14
diff -u -r1.14 gnome-api.xml
--- api/gnome-api.xml	28 Sep 2003 11:20:01 -0000	1.14
+++ api/gnome-api.xml	28 Sep 2003 13:32:24 -0000
@@ -4549,27 +4549,27 @@
       <method name="Find" cname="gnome_font_find" shared="true">
         <return-type type="GnomeFont*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
           <parameter type="gdouble" name="size"/>
         </parameters>
       </method>
       <method name="FindClosest" cname="gnome_font_find_closest" shared="true">
         <return-type type="GnomeFont*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
           <parameter type="gdouble" name="size"/>
         </parameters>
       </method>
       <method name="FindClosestFromFullName" cname="gnome_font_find_closest_from_full_name" shared="true">
         <return-type type="GnomeFont*"/>
         <parameters>
-          <parameter type="const-guchar*" name="string"/>
+          <parameter type="const-gchar*" name="string"/>
         </parameters>
       </method>
       <method name="FindClosestFromWeightSlant" cname="gnome_font_find_closest_from_weight_slant" shared="true">
         <return-type type="GnomeFont*"/>
         <parameters>
-          <parameter type="const-guchar*" name="family"/>
+          <parameter type="const-gchar*" name="family"/>
           <parameter type="GnomeFontWeight" name="weight"/>
           <parameter type="gboolean" name="italic"/>
           <parameter type="gdouble" name="size"/>
@@ -4578,7 +4578,7 @@
       <method name="FindFromFullName" cname="gnome_font_find_from_full_name" shared="true">
         <return-type type="GnomeFont*"/>
         <parameters>
-          <parameter type="const-guchar*" name="string"/>
+          <parameter type="const-gchar*" name="string"/>
         </parameters>
       </method>
       <method name="GetAscender" cname="gnome_font_get_ascender">
@@ -4598,7 +4598,7 @@
         <return-type type="GnomeFontFace*"/>
       </method>
       <method name="GetFamilyName" cname="gnome_font_get_family_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetFullName" cname="gnome_font_get_full_name">
         <return-type type="guchar*"/>
@@ -4645,7 +4645,7 @@
         </parameters>
       </method>
       <method name="GetName" cname="gnome_font_get_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetPangoDescription" cname="gnome_font_get_pango_description">
         <return-type type="PangoFontDescription*"/>
@@ -4654,7 +4654,7 @@
         </parameters>
       </method>
       <method name="GetPsName" cname="gnome_font_get_ps_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetRfont" cname="gnome_font_get_rfont">
         <return-type type="GnomeRFont*"/>
@@ -4666,7 +4666,7 @@
         <return-type type="gdouble"/>
       </method>
       <method name="GetSpeciesName" cname="gnome_font_get_species_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetType" cname="gnome_font_get_type" shared="true">
         <return-type type="GType"/>
@@ -4708,7 +4708,7 @@
       <method name="StyleList" cname="gnome_font_style_list" shared="true">
         <return-type type="GList*"/>
         <parameters>
-          <parameter type="const-guchar*" name="family"/>
+          <parameter type="const-gchar*" name="family"/>
         </parameters>
       </method>
       <method name="StyleListFree" cname="gnome_font_style_list_free" shared="true">
@@ -4736,13 +4736,13 @@
       <method name="Find" cname="gnome_font_face_find" shared="true">
         <return-type type="GnomeFontFace*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
         </parameters>
       </method>
       <method name="FindClosest" cname="gnome_font_face_find_closest" shared="true">
         <return-type type="GnomeFontFace*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
         </parameters>
       </method>
       <method name="FindClosestFromPangoDescription" cname="gnome_font_face_find_closest_from_pango_description" shared="true">
@@ -4760,7 +4760,7 @@
       <method name="FindClosestFromWeightSlant" cname="gnome_font_face_find_closest_from_weight_slant" shared="true">
         <return-type type="GnomeFontFace*"/>
         <parameters>
-          <parameter type="const-guchar*" name="family"/>
+          <parameter type="const-gchar*" name="family"/>
           <parameter type="GnomeFontWeight" name="weight"/>
           <parameter type="gboolean" name="italic"/>
         </parameters>
@@ -4768,8 +4768,8 @@
       <method name="FindFromFamilyAndStyle" cname="gnome_font_face_find_from_family_and_style" shared="true">
         <return-type type="GnomeFontFace*"/>
         <parameters>
-          <parameter type="const-guchar*" name="family"/>
-          <parameter type="const-guchar*" name="style"/>
+          <parameter type="const-gchar*" name="family"/>
+          <parameter type="const-gchar*" name="style"/>
         </parameters>
       </method>
       <method name="GetAscender" cname="gnome_font_face_get_ascender">
@@ -4779,7 +4779,7 @@
         <return-type type="gdouble"/>
       </method>
       <method name="GetFamilyName" cname="gnome_font_face_get_family_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetFont" cname="gnome_font_face_get_font">
         <return-type type="GnomeFont*"/>
@@ -4803,7 +4803,7 @@
         </parameters>
       </method>
       <method name="GetGlyphPsName" cname="gnome_font_face_get_glyph_ps_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
         <parameters>
           <parameter type="gint" name="glyph"/>
         </parameters>
@@ -4843,19 +4843,19 @@
         </parameters>
       </method>
       <method name="GetName" cname="gnome_font_face_get_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetNumGlyphs" cname="gnome_font_face_get_num_glyphs">
         <return-type type="gint"/>
       </method>
       <method name="GetPsName" cname="gnome_font_face_get_ps_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetSample" cname="gnome_font_face_get_sample">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetSpeciesName" cname="gnome_font_face_get_species_name">
-        <return-type type="const-guchar*"/>
+        <return-type type="const-gchar*"/>
       </method>
       <method name="GetStdbbox" cname="gnome_font_face_get_stdbbox">
         <return-type type="const-ArtDRect*"/>
@@ -4939,34 +4939,34 @@
       <method name="Get" cname="gnome_print_config_get">
         <return-type type="guchar*"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
         </parameters>
       </method>
       <method name="GetBoolean" cname="gnome_print_config_get_boolean">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gboolean*" name="val"/>
         </parameters>
       </method>
       <method name="GetDouble" cname="gnome_print_config_get_double">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gdouble*" name="val"/>
         </parameters>
       </method>
       <method name="GetInt" cname="gnome_print_config_get_int">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gint*" name="val"/>
         </parameters>
       </method>
       <method name="GetLength" cname="gnome_print_config_get_length">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gdouble*" name="val"/>
           <parameter type="const-GnomePrintUnit**" name="unit"/>
         </parameters>
@@ -4987,35 +4987,35 @@
       <method name="Set" cname="gnome_print_config_set">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
-          <parameter type="const-guchar*" name="value"/>
+          <parameter type="const-gchar*" name="key"/>
+          <parameter type="const-gchar*" name="value"/>
         </parameters>
       </method>
       <method name="SetBoolean" cname="gnome_print_config_set_boolean">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gboolean" name="val"/>
         </parameters>
       </method>
       <method name="SetDouble" cname="gnome_print_config_set_double">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gdouble" name="val"/>
         </parameters>
       </method>
       <method name="SetInt" cname="gnome_print_config_set_int">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gint" name="val"/>
         </parameters>
       </method>
       <method name="SetLength" cname="gnome_print_config_set_length">
         <return-type type="gboolean"/>
         <parameters>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
           <parameter type="gdouble" name="val"/>
           <parameter type="const-GnomePrintUnit*" name="unit"/>
         </parameters>
@@ -5152,14 +5152,14 @@
         <return-type type="gint"/>
         <parameters>
           <parameter type="GnomePrintContext*" name="ctx"/>
-          <parameter type="const-guchar*" name="filename"/>
+          <parameter type="const-gchar*" name="filename"/>
         </parameters>
       </method>
       <method name="RenderFilePage" cname="gnome_print_meta_render_file_page" shared="true">
         <return-type type="gint"/>
         <parameters>
           <parameter type="GnomePrintContext*" name="ctx"/>
-          <parameter type="const-guchar*" name="filename"/>
+          <parameter type="const-gchar*" name="filename"/>
           <parameter type="gint" name="page"/>
           <parameter type="gboolean" name="pageops"/>
         </parameters>
@@ -5574,7 +5574,7 @@
           <parameter type="guint32" name="color"/>
           <parameter type="gdouble" name="kerning"/>
           <parameter type="gdouble" name="letterspace"/>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
         </parameters>
       </method>
       <method name="FromTextSizedDumb" cname="gnome_glyphlist_from_text_sized_dumb" shared="true">
@@ -5584,7 +5584,7 @@
           <parameter type="guint32" name="color"/>
           <parameter type="gdouble" name="kerning"/>
           <parameter type="gdouble" name="letterspace"/>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
           <parameter type="gint" name="length"/>
         </parameters>
       </method>
@@ -5637,13 +5637,13 @@
       <method name="TextDumb" cname="gnome_glyphlist_text_dumb">
         <return-type type="void"/>
         <parameters>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
         </parameters>
       </method>
       <method name="TextSizedDumb" cname="gnome_glyphlist_text_sized_dumb">
         <return-type type="void"/>
         <parameters>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
           <parameter type="gint" name="length"/>
         </parameters>
       </method>
@@ -5672,7 +5672,7 @@
       <method name="GetByName" cname="gnome_print_paper_get_by_name" shared="true">
         <return-type type="const-GnomePrintPaper*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
         </parameters>
       </method>
       <method name="GetBySize" cname="gnome_print_paper_get_by_size" shared="true">
@@ -5714,13 +5714,13 @@
       <method name="GetByAbbreviation" cname="gnome_print_unit_get_by_abbreviation" shared="true">
         <return-type type="const-GnomePrintUnit*"/>
         <parameters>
-          <parameter type="const-guchar*" name="abbreviation"/>
+          <parameter type="const-gchar*" name="abbreviation"/>
         </parameters>
       </method>
       <method name="GetByName" cname="gnome_print_unit_get_by_name" shared="true">
         <return-type type="const-GnomePrintUnit*"/>
         <parameters>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
         </parameters>
       </method>
       <method name="GetDefault" cname="gnome_print_unit_get_default" shared="true">
@@ -5832,7 +5832,7 @@
         <return-type type="gint"/>
         <parameters>
           <parameter type="GnomePrintContext*" name="pc"/>
-          <parameter type="const-guchar*" name="name"/>
+          <parameter type="const-gchar*" name="name"/>
         </parameters>
       </method>
       <method name="Bpath" cname="gnome_print_bpath" shared="true">
@@ -5895,7 +5895,7 @@
       <method name="DecodeAscii85" cname="gnome_print_decode_ascii85" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
@@ -5909,7 +5909,7 @@
       <method name="DecodeHex" cname="gnome_print_decode_hex" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint*" name="in_size"/>
         </parameters>
@@ -5923,7 +5923,7 @@
       <method name="EncodeAscii85" cname="gnome_print_encode_ascii85" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
@@ -5937,14 +5937,14 @@
       <method name="EncodeBlank" cname="gnome_print_encode_blank" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
       </method>
       <method name="EncodeDeflate" cname="gnome_print_encode_deflate" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
           <parameter type="gint" name="out_size"/>
@@ -5959,7 +5959,7 @@
       <method name="EncodeDrow" cname="gnome_print_encode_drow" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
           <parameter type="guchar*" name="seed"/>
@@ -5974,7 +5974,7 @@
       <method name="EncodeHex" cname="gnome_print_encode_hex" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
@@ -5988,7 +5988,7 @@
       <method name="EncodeRlc" cname="gnome_print_encode_rlc" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
@@ -6002,7 +6002,7 @@
       <method name="EncodeTiff" cname="gnome_print_encode_tiff" shared="true">
         <return-type type="int"/>
         <parameters>
-          <parameter type="const-guchar*" name="in"/>
+          <parameter type="const-gchar*" name="in"/>
           <parameter type="guchar*" name="out"/>
           <parameter type="gint" name="in_size"/>
         </parameters>
@@ -6211,14 +6211,14 @@
         <return-type type="gint"/>
         <parameters>
           <parameter type="GnomePrintContext*" name="pc"/>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
         </parameters>
       </method>
       <method name="ShowSized" cname="gnome_print_show_sized" shared="true">
         <return-type type="gint"/>
         <parameters>
           <parameter type="GnomePrintContext*" name="pc"/>
-          <parameter type="const-guchar*" name="text"/>
+          <parameter type="const-gchar*" name="text"/>
           <parameter type="gint" name="bytes"/>
         </parameters>
       </method>
@@ -6321,7 +6321,7 @@
       <method name="SetPhrase" cname="gnome_font_preview_set_phrase">
         <return-type type="void"/>
         <parameters>
-          <parameter type="const-guchar*" name="phrase"/>
+          <parameter type="const-gchar*" name="phrase"/>
         </parameters>
       </method>
     </object>
@@ -6436,7 +6436,7 @@
       <method name="Construct" cname="gnome_print_dialog_construct">
         <return-type type="void"/>
         <parameters>
-          <parameter type="const-guchar*" name="title"/>
+          <parameter type="const-gchar*" name="title"/>
           <parameter type="gint" name="flags"/>
         </parameters>
       </method>
@@ -6445,8 +6445,8 @@
         <parameters>
           <parameter type="gint" name="flags"/>
           <parameter type="GtkWidget*" name="range_widget"/>
-          <parameter type="const-guchar*" name="currentlabel"/>
-          <parameter type="const-guchar*" name="rangelabel"/>
+          <parameter type="const-gchar*" name="currentlabel"/>
+          <parameter type="const-gchar*" name="rangelabel"/>
         </parameters>
       </method>
       <method name="ConstructRangeCustom" cname="gnome_print_dialog_construct_range_custom">
@@ -6461,8 +6461,8 @@
           <parameter type="gint" name="flags"/>
           <parameter type="gint" name="start"/>
           <parameter type="gint" name="end"/>
-          <parameter type="const-guchar*" name="currentlabel"/>
-          <parameter type="const-guchar*" name="rangelabel"/>
+          <parameter type="const-gchar*" name="currentlabel"/>
+          <parameter type="const-gchar*" name="rangelabel"/>
         </parameters>
       </method>
       <method name="GetConfig" cname="gnome_print_dialog_get_config">
@@ -6491,7 +6491,7 @@
       <constructor cname="gnome_print_dialog_new">
         <parameters>
           <parameter type="GnomePrintJob*" name="gpj"/>
-          <parameter type="const-guchar*" name="title"/>
+          <parameter type="const-gchar*" name="title"/>
           <parameter type="gint" name="flags"/>
         </parameters>
       </constructor>
@@ -6510,7 +6510,7 @@
       <constructor cname="gnome_print_job_preview_new">
         <parameters>
           <parameter type="GnomePrintJob*" name="gpm"/>
-          <parameter type="const-guchar*" name="title"/>
+          <parameter type="const-gchar*" name="title"/>
         </parameters>
       </constructor>
     </object>
@@ -6593,7 +6593,7 @@
       <constructor cname="gpa_option_menu_new">
         <parameters>
           <parameter type="GnomePrintConfig*" name="config"/>
-          <parameter type="const-guchar*" name="key"/>
+          <parameter type="const-gchar*" name="key"/>
         </parameters>
       </constructor>
     </object>
Index: sources/Gnome.metadata
===================================================================
RCS file: /cvs/public/gtk-sharp/sources/Gnome.metadata,v
retrieving revision 1.11
diff -u -r1.11 Gnome.metadata
--- sources/Gnome.metadata	14 Aug 2003 14:47:19 -0000	1.11
+++ sources/Gnome.metadata	28 Sep 2003 13:32:28 -0000
@@ -333,6 +333,176 @@
  </data>
 </rule>
 
+<!-- Use const-gchar* instead of const-guchar*, when the value is realy a string -->
+<rule>
+  <class name="GnomeFont">
+    <method>Find</method>
+    <method>FindClosest</method>
+    <method>FindClosestFromFullName</method>
+    <method>FindClosestFromWeightSlant</method>
+    <method>FindFromFullName</method>
+    <method>StyleList</method>
+  </class>
+  <class name="GnomeFontFace">
+    <method>Find</method>
+    <method>FindClosest</method>
+    <method>FindClosestFromWeightSlant</method>
+    <method>FindFromFamilyAndStyle</method>
+  </class>
+  <class name="GnomePrintConfig">
+    <method>Get</method>
+    <method>GetBoolean</method>
+    <method>GetDouble</method>
+    <method>GetInt</method>
+    <method>GetLength</method>
+    <method>Set</method>
+    <method>SetBoolean</method>
+    <method>SetDouble</method>
+    <method>SetInt</method>
+    <method>SetLength</method>
+  </class>
+  <class name="GnomePrintDialog">
+    <method>Construct</method>
+    <method>ConstructRangeAny</method>
+    <method>ConstructRangePage</method>
+    <method>gnome_print_dialog_new</method>
+  </class>
+  <class name="GnomePrintMeta">
+    <method>RenderFile</method>
+    <method>RenderFilePage</method>
+  </class>
+  <class name="GnomeGlyphList">
+    <method>FromTextDumb</method>
+    <method>FromTextSizedDumb</method>
+    <method>TextDumb</method>
+    <method>TextSizedDumb</method>
+  </class>
+  <class name="GnomePrintPaper">
+    <method>GetByName</method>
+  </class>
+  <class name="GnomePrintUnit">
+    <method>GetByAbbreviation</method>
+    <method>GetByName</method>
+  </class>
+  <class name="GnomePrint_">
+    <method>Beginpage</method>
+    <method>DecodeAscii85</method>
+    <method>DecodeHex</method>
+    <method>EncodeAscii85</method>
+    <method>EncodeBlank</method>
+    <method>EncodeDeflate</method>
+    <method>EncodeDrow</method>
+    <method>EncodeHex</method>
+    <method>EncodeRlc</method>
+    <method>EncodeTiff</method>
+    <method>Show</method>
+    <method>ShowSized</method>
+  </class>
+  <class name="GnomeFontPreview">
+    <method>SetPhrase</method>
+  </class>
+  <class name="GnomePrintJobPreview">
+    <method>gnome_print_job_preview_new</method>
+  </class>
+  <class name="GPAOptionMenu">
+    <method>gpa_option_menu_new</method>
+  </class>
+  <data>
+    <attribute target="params">
+      <filter level="name">name</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">family</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">string</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">style</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">key</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">value</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">filename</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">text</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">abbreviation</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">in</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">phrase</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">title</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">currentlabel</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+    <attribute target="params">
+      <filter level="name">rangelabel</filter>
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+  </data>
+</rule>
+<rule>
+  <class name="GnomeFont">
+    <method>GetFamilyName</method>
+    <method>GetName</method>
+    <method>GetPsName</method>
+    <method>GetSpeciesName</method>
+  </class>
+  <class name="GnomeFontFace">
+    <method>GetFamilyName</method>
+    <method>GetGlyphPsName</method>
+    <method>GetName</method>
+    <method>GetPsName</method>
+    <method>GetSample</method>
+    <method>GetSpeciesName</method>
+  </class>
+  <data>
+    <attribute target="return">
+      <name>type</name>
+      <value>const-gchar*</value>
+    </attribute>
+  </data>
+</rule>
+
 <!-- null args -->
 <rule>
   <class name="GnomeIconList">

--=-+Tyj+qVyzLRcCflFFbSb--