* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,

when the value is realy a string
        * api/gnome-api.xml: Ditto

svn path=/trunk/gtk-sharp/; revision=18384
This commit is contained in:
Martin Willemoes Hansen 2003-09-29 11:05:30 +00:00
parent 8241667807
commit 08d90b259b
3 changed files with 238 additions and 62 deletions

View file

@ -1,3 +1,9 @@
2003-09-29 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,
when the value is realy a string
* api/gnome-api.xml: Ditto
2003-09-28 Martin Willemoes Hansen <mwh@sysrq.dk> 2003-09-28 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui * sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui

View file

@ -4549,27 +4549,27 @@
<method name="Find" cname="gnome_font_find" shared="true"> <method name="Find" cname="gnome_font_find" shared="true">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
<parameter type="gdouble" name="size"/> <parameter type="gdouble" name="size"/>
</parameters> </parameters>
</method> </method>
<method name="FindClosest" cname="gnome_font_find_closest" shared="true"> <method name="FindClosest" cname="gnome_font_find_closest" shared="true">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
<parameter type="gdouble" name="size"/> <parameter type="gdouble" name="size"/>
</parameters> </parameters>
</method> </method>
<method name="FindClosestFromFullName" cname="gnome_font_find_closest_from_full_name" shared="true"> <method name="FindClosestFromFullName" cname="gnome_font_find_closest_from_full_name" shared="true">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="string"/> <parameter type="const-gchar*" name="string"/>
</parameters> </parameters>
</method> </method>
<method name="FindClosestFromWeightSlant" cname="gnome_font_find_closest_from_weight_slant" shared="true"> <method name="FindClosestFromWeightSlant" cname="gnome_font_find_closest_from_weight_slant" shared="true">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="family"/> <parameter type="const-gchar*" name="family"/>
<parameter type="GnomeFontWeight" name="weight"/> <parameter type="GnomeFontWeight" name="weight"/>
<parameter type="gboolean" name="italic"/> <parameter type="gboolean" name="italic"/>
<parameter type="gdouble" name="size"/> <parameter type="gdouble" name="size"/>
@ -4578,7 +4578,7 @@
<method name="FindFromFullName" cname="gnome_font_find_from_full_name" shared="true"> <method name="FindFromFullName" cname="gnome_font_find_from_full_name" shared="true">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="string"/> <parameter type="const-gchar*" name="string"/>
</parameters> </parameters>
</method> </method>
<method name="GetAscender" cname="gnome_font_get_ascender"> <method name="GetAscender" cname="gnome_font_get_ascender">
@ -4598,7 +4598,7 @@
<return-type type="GnomeFontFace*"/> <return-type type="GnomeFontFace*"/>
</method> </method>
<method name="GetFamilyName" cname="gnome_font_get_family_name"> <method name="GetFamilyName" cname="gnome_font_get_family_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetFullName" cname="gnome_font_get_full_name"> <method name="GetFullName" cname="gnome_font_get_full_name">
<return-type type="guchar*"/> <return-type type="guchar*"/>
@ -4645,7 +4645,7 @@
</parameters> </parameters>
</method> </method>
<method name="GetName" cname="gnome_font_get_name"> <method name="GetName" cname="gnome_font_get_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetPangoDescription" cname="gnome_font_get_pango_description"> <method name="GetPangoDescription" cname="gnome_font_get_pango_description">
<return-type type="PangoFontDescription*"/> <return-type type="PangoFontDescription*"/>
@ -4654,7 +4654,7 @@
</parameters> </parameters>
</method> </method>
<method name="GetPsName" cname="gnome_font_get_ps_name"> <method name="GetPsName" cname="gnome_font_get_ps_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetRfont" cname="gnome_font_get_rfont"> <method name="GetRfont" cname="gnome_font_get_rfont">
<return-type type="GnomeRFont*"/> <return-type type="GnomeRFont*"/>
@ -4666,7 +4666,7 @@
<return-type type="gdouble"/> <return-type type="gdouble"/>
</method> </method>
<method name="GetSpeciesName" cname="gnome_font_get_species_name"> <method name="GetSpeciesName" cname="gnome_font_get_species_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetType" cname="gnome_font_get_type" shared="true"> <method name="GetType" cname="gnome_font_get_type" shared="true">
<return-type type="GType"/> <return-type type="GType"/>
@ -4708,7 +4708,7 @@
<method name="StyleList" cname="gnome_font_style_list" shared="true"> <method name="StyleList" cname="gnome_font_style_list" shared="true">
<return-type type="GList*"/> <return-type type="GList*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="family"/> <parameter type="const-gchar*" name="family"/>
</parameters> </parameters>
</method> </method>
<method name="StyleListFree" cname="gnome_font_style_list_free" shared="true"> <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"> <method name="Find" cname="gnome_font_face_find" shared="true">
<return-type type="GnomeFontFace*"/> <return-type type="GnomeFontFace*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
</parameters> </parameters>
</method> </method>
<method name="FindClosest" cname="gnome_font_face_find_closest" shared="true"> <method name="FindClosest" cname="gnome_font_face_find_closest" shared="true">
<return-type type="GnomeFontFace*"/> <return-type type="GnomeFontFace*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
</parameters> </parameters>
</method> </method>
<method name="FindClosestFromPangoDescription" cname="gnome_font_face_find_closest_from_pango_description" shared="true"> <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"> <method name="FindClosestFromWeightSlant" cname="gnome_font_face_find_closest_from_weight_slant" shared="true">
<return-type type="GnomeFontFace*"/> <return-type type="GnomeFontFace*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="family"/> <parameter type="const-gchar*" name="family"/>
<parameter type="GnomeFontWeight" name="weight"/> <parameter type="GnomeFontWeight" name="weight"/>
<parameter type="gboolean" name="italic"/> <parameter type="gboolean" name="italic"/>
</parameters> </parameters>
@ -4768,8 +4768,8 @@
<method name="FindFromFamilyAndStyle" cname="gnome_font_face_find_from_family_and_style" shared="true"> <method name="FindFromFamilyAndStyle" cname="gnome_font_face_find_from_family_and_style" shared="true">
<return-type type="GnomeFontFace*"/> <return-type type="GnomeFontFace*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="family"/> <parameter type="const-gchar*" name="family"/>
<parameter type="const-guchar*" name="style"/> <parameter type="const-gchar*" name="style"/>
</parameters> </parameters>
</method> </method>
<method name="GetAscender" cname="gnome_font_face_get_ascender"> <method name="GetAscender" cname="gnome_font_face_get_ascender">
@ -4779,7 +4779,7 @@
<return-type type="gdouble"/> <return-type type="gdouble"/>
</method> </method>
<method name="GetFamilyName" cname="gnome_font_face_get_family_name"> <method name="GetFamilyName" cname="gnome_font_face_get_family_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetFont" cname="gnome_font_face_get_font"> <method name="GetFont" cname="gnome_font_face_get_font">
<return-type type="GnomeFont*"/> <return-type type="GnomeFont*"/>
@ -4803,7 +4803,7 @@
</parameters> </parameters>
</method> </method>
<method name="GetGlyphPsName" cname="gnome_font_face_get_glyph_ps_name"> <method name="GetGlyphPsName" cname="gnome_font_face_get_glyph_ps_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
<parameters> <parameters>
<parameter type="gint" name="glyph"/> <parameter type="gint" name="glyph"/>
</parameters> </parameters>
@ -4843,19 +4843,19 @@
</parameters> </parameters>
</method> </method>
<method name="GetName" cname="gnome_font_face_get_name"> <method name="GetName" cname="gnome_font_face_get_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetNumGlyphs" cname="gnome_font_face_get_num_glyphs"> <method name="GetNumGlyphs" cname="gnome_font_face_get_num_glyphs">
<return-type type="gint"/> <return-type type="gint"/>
</method> </method>
<method name="GetPsName" cname="gnome_font_face_get_ps_name"> <method name="GetPsName" cname="gnome_font_face_get_ps_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetSample" cname="gnome_font_face_get_sample"> <method name="GetSample" cname="gnome_font_face_get_sample">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetSpeciesName" cname="gnome_font_face_get_species_name"> <method name="GetSpeciesName" cname="gnome_font_face_get_species_name">
<return-type type="const-guchar*"/> <return-type type="const-gchar*"/>
</method> </method>
<method name="GetStdbbox" cname="gnome_font_face_get_stdbbox"> <method name="GetStdbbox" cname="gnome_font_face_get_stdbbox">
<return-type type="const-ArtDRect*"/> <return-type type="const-ArtDRect*"/>
@ -4939,34 +4939,34 @@
<method name="Get" cname="gnome_print_config_get"> <method name="Get" cname="gnome_print_config_get">
<return-type type="guchar*"/> <return-type type="guchar*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
</parameters> </parameters>
</method> </method>
<method name="GetBoolean" cname="gnome_print_config_get_boolean"> <method name="GetBoolean" cname="gnome_print_config_get_boolean">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gboolean*" name="val"/> <parameter type="gboolean*" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="GetDouble" cname="gnome_print_config_get_double"> <method name="GetDouble" cname="gnome_print_config_get_double">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gdouble*" name="val"/> <parameter type="gdouble*" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="GetInt" cname="gnome_print_config_get_int"> <method name="GetInt" cname="gnome_print_config_get_int">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gint*" name="val"/> <parameter type="gint*" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="GetLength" cname="gnome_print_config_get_length"> <method name="GetLength" cname="gnome_print_config_get_length">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gdouble*" name="val"/> <parameter type="gdouble*" name="val"/>
<parameter type="const-GnomePrintUnit**" name="unit"/> <parameter type="const-GnomePrintUnit**" name="unit"/>
</parameters> </parameters>
@ -4987,35 +4987,35 @@
<method name="Set" cname="gnome_print_config_set"> <method name="Set" cname="gnome_print_config_set">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="const-guchar*" name="value"/> <parameter type="const-gchar*" name="value"/>
</parameters> </parameters>
</method> </method>
<method name="SetBoolean" cname="gnome_print_config_set_boolean"> <method name="SetBoolean" cname="gnome_print_config_set_boolean">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gboolean" name="val"/> <parameter type="gboolean" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="SetDouble" cname="gnome_print_config_set_double"> <method name="SetDouble" cname="gnome_print_config_set_double">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gdouble" name="val"/> <parameter type="gdouble" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="SetInt" cname="gnome_print_config_set_int"> <method name="SetInt" cname="gnome_print_config_set_int">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gint" name="val"/> <parameter type="gint" name="val"/>
</parameters> </parameters>
</method> </method>
<method name="SetLength" cname="gnome_print_config_set_length"> <method name="SetLength" cname="gnome_print_config_set_length">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
<parameter type="gdouble" name="val"/> <parameter type="gdouble" name="val"/>
<parameter type="const-GnomePrintUnit*" name="unit"/> <parameter type="const-GnomePrintUnit*" name="unit"/>
</parameters> </parameters>
@ -5152,14 +5152,14 @@
<return-type type="gint"/> <return-type type="gint"/>
<parameters> <parameters>
<parameter type="GnomePrintContext*" name="ctx"/> <parameter type="GnomePrintContext*" name="ctx"/>
<parameter type="const-guchar*" name="filename"/> <parameter type="const-gchar*" name="filename"/>
</parameters> </parameters>
</method> </method>
<method name="RenderFilePage" cname="gnome_print_meta_render_file_page" shared="true"> <method name="RenderFilePage" cname="gnome_print_meta_render_file_page" shared="true">
<return-type type="gint"/> <return-type type="gint"/>
<parameters> <parameters>
<parameter type="GnomePrintContext*" name="ctx"/> <parameter type="GnomePrintContext*" name="ctx"/>
<parameter type="const-guchar*" name="filename"/> <parameter type="const-gchar*" name="filename"/>
<parameter type="gint" name="page"/> <parameter type="gint" name="page"/>
<parameter type="gboolean" name="pageops"/> <parameter type="gboolean" name="pageops"/>
</parameters> </parameters>
@ -5574,7 +5574,7 @@
<parameter type="guint32" name="color"/> <parameter type="guint32" name="color"/>
<parameter type="gdouble" name="kerning"/> <parameter type="gdouble" name="kerning"/>
<parameter type="gdouble" name="letterspace"/> <parameter type="gdouble" name="letterspace"/>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
</parameters> </parameters>
</method> </method>
<method name="FromTextSizedDumb" cname="gnome_glyphlist_from_text_sized_dumb" shared="true"> <method name="FromTextSizedDumb" cname="gnome_glyphlist_from_text_sized_dumb" shared="true">
@ -5584,7 +5584,7 @@
<parameter type="guint32" name="color"/> <parameter type="guint32" name="color"/>
<parameter type="gdouble" name="kerning"/> <parameter type="gdouble" name="kerning"/>
<parameter type="gdouble" name="letterspace"/> <parameter type="gdouble" name="letterspace"/>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
<parameter type="gint" name="length"/> <parameter type="gint" name="length"/>
</parameters> </parameters>
</method> </method>
@ -5637,13 +5637,13 @@
<method name="TextDumb" cname="gnome_glyphlist_text_dumb"> <method name="TextDumb" cname="gnome_glyphlist_text_dumb">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
</parameters> </parameters>
</method> </method>
<method name="TextSizedDumb" cname="gnome_glyphlist_text_sized_dumb"> <method name="TextSizedDumb" cname="gnome_glyphlist_text_sized_dumb">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
<parameter type="gint" name="length"/> <parameter type="gint" name="length"/>
</parameters> </parameters>
</method> </method>
@ -5672,7 +5672,7 @@
<method name="GetByName" cname="gnome_print_paper_get_by_name" shared="true"> <method name="GetByName" cname="gnome_print_paper_get_by_name" shared="true">
<return-type type="const-GnomePrintPaper*"/> <return-type type="const-GnomePrintPaper*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
</parameters> </parameters>
</method> </method>
<method name="GetBySize" cname="gnome_print_paper_get_by_size" shared="true"> <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"> <method name="GetByAbbreviation" cname="gnome_print_unit_get_by_abbreviation" shared="true">
<return-type type="const-GnomePrintUnit*"/> <return-type type="const-GnomePrintUnit*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="abbreviation"/> <parameter type="const-gchar*" name="abbreviation"/>
</parameters> </parameters>
</method> </method>
<method name="GetByName" cname="gnome_print_unit_get_by_name" shared="true"> <method name="GetByName" cname="gnome_print_unit_get_by_name" shared="true">
<return-type type="const-GnomePrintUnit*"/> <return-type type="const-GnomePrintUnit*"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
</parameters> </parameters>
</method> </method>
<method name="GetDefault" cname="gnome_print_unit_get_default" shared="true"> <method name="GetDefault" cname="gnome_print_unit_get_default" shared="true">
@ -5832,7 +5832,7 @@
<return-type type="gint"/> <return-type type="gint"/>
<parameters> <parameters>
<parameter type="GnomePrintContext*" name="pc"/> <parameter type="GnomePrintContext*" name="pc"/>
<parameter type="const-guchar*" name="name"/> <parameter type="const-gchar*" name="name"/>
</parameters> </parameters>
</method> </method>
<method name="Bpath" cname="gnome_print_bpath" shared="true"> <method name="Bpath" cname="gnome_print_bpath" shared="true">
@ -5895,7 +5895,7 @@
<method name="DecodeAscii85" cname="gnome_print_decode_ascii85" shared="true"> <method name="DecodeAscii85" cname="gnome_print_decode_ascii85" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
@ -5909,7 +5909,7 @@
<method name="DecodeHex" cname="gnome_print_decode_hex" shared="true"> <method name="DecodeHex" cname="gnome_print_decode_hex" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint*" name="in_size"/> <parameter type="gint*" name="in_size"/>
</parameters> </parameters>
@ -5923,7 +5923,7 @@
<method name="EncodeAscii85" cname="gnome_print_encode_ascii85" shared="true"> <method name="EncodeAscii85" cname="gnome_print_encode_ascii85" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
@ -5937,14 +5937,14 @@
<method name="EncodeBlank" cname="gnome_print_encode_blank" shared="true"> <method name="EncodeBlank" cname="gnome_print_encode_blank" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
</method> </method>
<method name="EncodeDeflate" cname="gnome_print_encode_deflate" shared="true"> <method name="EncodeDeflate" cname="gnome_print_encode_deflate" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
<parameter type="gint" name="out_size"/> <parameter type="gint" name="out_size"/>
@ -5959,7 +5959,7 @@
<method name="EncodeDrow" cname="gnome_print_encode_drow" shared="true"> <method name="EncodeDrow" cname="gnome_print_encode_drow" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
<parameter type="guchar*" name="seed"/> <parameter type="guchar*" name="seed"/>
@ -5974,7 +5974,7 @@
<method name="EncodeHex" cname="gnome_print_encode_hex" shared="true"> <method name="EncodeHex" cname="gnome_print_encode_hex" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
@ -5988,7 +5988,7 @@
<method name="EncodeRlc" cname="gnome_print_encode_rlc" shared="true"> <method name="EncodeRlc" cname="gnome_print_encode_rlc" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
@ -6002,7 +6002,7 @@
<method name="EncodeTiff" cname="gnome_print_encode_tiff" shared="true"> <method name="EncodeTiff" cname="gnome_print_encode_tiff" shared="true">
<return-type type="int"/> <return-type type="int"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="in"/> <parameter type="const-gchar*" name="in"/>
<parameter type="guchar*" name="out"/> <parameter type="guchar*" name="out"/>
<parameter type="gint" name="in_size"/> <parameter type="gint" name="in_size"/>
</parameters> </parameters>
@ -6211,14 +6211,14 @@
<return-type type="gint"/> <return-type type="gint"/>
<parameters> <parameters>
<parameter type="GnomePrintContext*" name="pc"/> <parameter type="GnomePrintContext*" name="pc"/>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
</parameters> </parameters>
</method> </method>
<method name="ShowSized" cname="gnome_print_show_sized" shared="true"> <method name="ShowSized" cname="gnome_print_show_sized" shared="true">
<return-type type="gint"/> <return-type type="gint"/>
<parameters> <parameters>
<parameter type="GnomePrintContext*" name="pc"/> <parameter type="GnomePrintContext*" name="pc"/>
<parameter type="const-guchar*" name="text"/> <parameter type="const-gchar*" name="text"/>
<parameter type="gint" name="bytes"/> <parameter type="gint" name="bytes"/>
</parameters> </parameters>
</method> </method>
@ -6321,7 +6321,7 @@
<method name="SetPhrase" cname="gnome_font_preview_set_phrase"> <method name="SetPhrase" cname="gnome_font_preview_set_phrase">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="phrase"/> <parameter type="const-gchar*" name="phrase"/>
</parameters> </parameters>
</method> </method>
</object> </object>
@ -6436,7 +6436,7 @@
<method name="Construct" cname="gnome_print_dialog_construct"> <method name="Construct" cname="gnome_print_dialog_construct">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
<parameter type="const-guchar*" name="title"/> <parameter type="const-gchar*" name="title"/>
<parameter type="gint" name="flags"/> <parameter type="gint" name="flags"/>
</parameters> </parameters>
</method> </method>
@ -6445,8 +6445,8 @@
<parameters> <parameters>
<parameter type="gint" name="flags"/> <parameter type="gint" name="flags"/>
<parameter type="GtkWidget*" name="range_widget"/> <parameter type="GtkWidget*" name="range_widget"/>
<parameter type="const-guchar*" name="currentlabel"/> <parameter type="const-gchar*" name="currentlabel"/>
<parameter type="const-guchar*" name="rangelabel"/> <parameter type="const-gchar*" name="rangelabel"/>
</parameters> </parameters>
</method> </method>
<method name="ConstructRangeCustom" cname="gnome_print_dialog_construct_range_custom"> <method name="ConstructRangeCustom" cname="gnome_print_dialog_construct_range_custom">
@ -6461,8 +6461,8 @@
<parameter type="gint" name="flags"/> <parameter type="gint" name="flags"/>
<parameter type="gint" name="start"/> <parameter type="gint" name="start"/>
<parameter type="gint" name="end"/> <parameter type="gint" name="end"/>
<parameter type="const-guchar*" name="currentlabel"/> <parameter type="const-gchar*" name="currentlabel"/>
<parameter type="const-guchar*" name="rangelabel"/> <parameter type="const-gchar*" name="rangelabel"/>
</parameters> </parameters>
</method> </method>
<method name="GetConfig" cname="gnome_print_dialog_get_config"> <method name="GetConfig" cname="gnome_print_dialog_get_config">
@ -6491,7 +6491,7 @@
<constructor cname="gnome_print_dialog_new"> <constructor cname="gnome_print_dialog_new">
<parameters> <parameters>
<parameter type="GnomePrintJob*" name="gpj"/> <parameter type="GnomePrintJob*" name="gpj"/>
<parameter type="const-guchar*" name="title"/> <parameter type="const-gchar*" name="title"/>
<parameter type="gint" name="flags"/> <parameter type="gint" name="flags"/>
</parameters> </parameters>
</constructor> </constructor>
@ -6510,7 +6510,7 @@
<constructor cname="gnome_print_job_preview_new"> <constructor cname="gnome_print_job_preview_new">
<parameters> <parameters>
<parameter type="GnomePrintJob*" name="gpm"/> <parameter type="GnomePrintJob*" name="gpm"/>
<parameter type="const-guchar*" name="title"/> <parameter type="const-gchar*" name="title"/>
</parameters> </parameters>
</constructor> </constructor>
</object> </object>
@ -6593,7 +6593,7 @@
<constructor cname="gpa_option_menu_new"> <constructor cname="gpa_option_menu_new">
<parameters> <parameters>
<parameter type="GnomePrintConfig*" name="config"/> <parameter type="GnomePrintConfig*" name="config"/>
<parameter type="const-guchar*" name="key"/> <parameter type="const-gchar*" name="key"/>
</parameters> </parameters>
</constructor> </constructor>
</object> </object>

View file

@ -333,6 +333,176 @@
</data> </data>
</rule> </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 --> <!-- null args -->
<rule> <rule>
<class name="GnomeIconList"> <class name="GnomeIconList">