Reparse and fix build for G_DEFINE_BOXED_TYPE

* gdk/PixbufFormat.custom: kill redundant Obsolete prop.
* gdk/Makefile.am: remove file.
* gdk/gdk-api.raw: reparse
* gio/Gio.metadata: hide a couple opaque fields.
* gio/gio-api.raw: reparse
This commit is contained in:
Mike Kestner 2011-01-31 10:57:06 -06:00
parent 32737dc946
commit 7d70a4313a
5 changed files with 13 additions and 51 deletions

View file

@ -50,7 +50,6 @@ customs = \
Pixmap.custom \
Pixbuf.custom \
PixbufAnimation.custom \
PixbufFormat.custom \
PixbufFrame.custom \
PixbufLoader.custom \
Pixdata.custom \

View file

@ -1,38 +0,0 @@
/*
* PixbufFormat.custom: customization for PixbufFormat
*
* Author(s):
* Stephane Delcroix (stephane@delcroix.org)
*
* Copyright (c) 2009 Novell, Inc.
*
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
[Obsolete("Use the Disabled property instead")]
public bool IsDisabled {
get {
bool raw_ret = gdk_pixbuf_format_is_disabled(Handle);
bool ret = raw_ret;
return ret;
}
}

View file

@ -2922,7 +2922,7 @@
<struct name="ArgDesc" cname="GdkArgDesc" opaque="true" />
<struct name="AxisInfo" cname="GdkAxisInfo" opaque="true" />
<struct name="ClientFilter" cname="GdkClientFilter" opaque="true" />
<struct name="Color" cname="GdkColor">
<boxed name="Color" cname="GdkColor">
<field name="Pixel" cname="pixel" type="guint32" />
<field name="Red" cname="red" type="guint16" />
<field name="Green" cname="green" type="guint16" />
@ -2955,7 +2955,7 @@
<method name="ToString" cname="gdk_color_to_string">
<return-type type="gchar*" />
</method>
</struct>
</boxed>
<struct name="ColorInfo" cname="GdkColorInfo" opaque="true" />
<struct name="DeviceKey" cname="GdkDeviceKey" opaque="true" />
<struct name="EventAny" cname="GdkEventAny">
@ -3186,7 +3186,7 @@
<field name="Y" cname="y" type="gint" />
</struct>
<struct name="Predicate" cname="GdkPredicate" opaque="true" />
<struct name="RGBA" cname="GdkRGBA">
<boxed name="RGBA" cname="GdkRGBA">
<field name="Red" cname="red" type="gdouble" />
<field name="Green" cname="green" type="gdouble" />
<field name="Blue" cname="blue" type="gdouble" />
@ -3222,7 +3222,7 @@
<method name="ToString" cname="gdk_rgba_to_string">
<return-type type="gchar*" />
</method>
</struct>
</boxed>
<alias name="Rectangle" cname="GdkRectangle" type="cairo_rectangle_int_t" />
<struct name="ThreadsDispatch" cname="GdkThreadsDispatch" opaque="true" />
<struct name="TimeCoord" cname="GdkTimeCoord">
@ -4753,7 +4753,7 @@
</method>
</object>
<struct name="GdipContext" cname="GdipContext" opaque="true" />
<struct name="PixbufFormat" cname="GdkPixbufFormat" opaque="true">
<boxed name="PixbufFormat" cname="GdkPixbufFormat" opaque="true">
<method name="Copy" cname="gdk_pixbuf_format_copy">
<return-type type="GdkPixbufFormat*" owned="true" />
</method>
@ -4793,7 +4793,7 @@
<parameter type="gboolean" name="disabled" />
</parameters>
</method>
</struct>
</boxed>
<struct name="PixbufFrame" cname="GdkPixbufFrame">
<field name="Pixbuf" cname="pixbuf" type="GdkPixbuf*" />
<field name="XOffset" cname="x_offset" type="int" />

View file

@ -2,6 +2,7 @@
<metadata>
<add-node path="/api"><symbol type="simple" cname="GSeekType" name="GLib.SeekType"/></add-node>
<attr path="/api/namespace" name="name">GLib</attr>
<attr path="/api/namespace/boxed[@cname='GFileAttributeInfoList']/field" name="access">private</attr>
<attr path="/api/namespace/interface/method/*/*[@type='GAsyncReadyCallback']" name="scope">async</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='CanRemoveSupportsType']" name="name">GetCanRemoveSupportsType</attr>

View file

@ -12316,7 +12316,7 @@
<field name="Type" cname="type" type="GFileAttributeType" />
<field name="Flags" cname="flags" type="GFileAttributeInfoFlags" />
</struct>
<struct name="FileAttributeInfoList" cname="GFileAttributeInfoList" opaque="true">
<boxed name="FileAttributeInfoList" cname="GFileAttributeInfoList" opaque="true">
<field name="Infos" cname="infos" type="GFileAttributeInfo*" access="public" writeable="true" />
<field name="NInfos" cname="n_infos" type="int" access="public" writeable="true" />
<method name="Add" cname="g_file_attribute_info_list_add">
@ -12346,8 +12346,8 @@
<method name="Unref" cname="g_file_attribute_info_list_unref">
<return-type type="void" />
</method>
</struct>
<struct name="FileAttributeMatcher" cname="GFileAttributeMatcher" opaque="true">
</boxed>
<boxed name="FileAttributeMatcher" cname="GFileAttributeMatcher" opaque="true">
<method name="EnumerateNamespace" cname="g_file_attribute_matcher_enumerate_namespace">
<return-type type="gboolean" />
<parameters>
@ -12383,7 +12383,7 @@
<method name="Unref" cname="g_file_attribute_matcher_unref">
<return-type type="void" />
</method>
</struct>
</boxed>
<struct name="IOExtension" cname="GIOExtension" opaque="true">
<method name="GetName" cname="g_io_extension_get_name">
<return-type type="const-char*" />
@ -12469,7 +12469,7 @@
<struct name="SettingsBackend" cname="GSettingsBackend" opaque="true" />
<struct name="SettingsBackendClosure" cname="GSettingsBackendClosure" opaque="true" />
<struct name="SettingsBackendWatch" cname="GSettingsBackendWatch" opaque="true" />
<struct name="SrvTarget" cname="GSrvTarget" opaque="true">
<boxed name="SrvTarget" cname="GSrvTarget" opaque="true">
<method name="Copy" cname="g_srv_target_copy">
<return-type type="GSrvTarget*" owned="true" />
</method>
@ -12505,7 +12505,7 @@
<parameter type="guint16" name="weight" />
</parameters>
</constructor>
</struct>
</boxed>
<struct name="ThreadedResolverRequest" cname="GThreadedResolverRequest" opaque="true" />
<struct name="TlsClientContext" cname="GTlsClientContext" opaque="true" />
<struct name="TlsContext" cname="GTlsContext" opaque="true" />