2009-02-27 Stephane Delcroix <sdelcroix@novell.com>
* gdk/Gdk.metadata: * gdk/PixbufFormat.custom: * gdk/Makefile.am: deprecate IsDisabled in favor of the Disabled property svn path=/trunk/gtk-sharp/; revision=128194
This commit is contained in:
parent
360c9c88e2
commit
20f7cd3d78
4 changed files with 47 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-02-27 Stephane Delcroix <sdelcroix@novell.com>
|
||||
|
||||
* gdk/Gdk.metadata:
|
||||
* gdk/PixbufFormat.custom:
|
||||
* gdk/Makefile.am: deprecate IsDisabled in favor of the Disabled
|
||||
property
|
||||
|
||||
2009-02-27 Stephane Delcroix <sdelcroix@novell.com>
|
||||
|
||||
* gdk/Gdk.metadata: fix GdkPixbufFormat mime_types and extensions
|
||||
|
|
|
@ -184,6 +184,7 @@
|
|||
<attr path="/api/namespace/struct[@cname='GdkEventSetting']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkEventVisibility']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkEventWindowState']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkPixbufFormat']/method[@cname='gdk_pixbuf_format_is_disabled']" name="name">GetDisabled</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkPixbufFormat']/method[@name='GetExtensions']/return-type" name="null_term_array">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkPixbufFormat']/method[@name='GetMimeTypes']/return-type" name="null_term_array">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GdkPixdata']/method[@name='Deserialize']/*/*[@name='stream']" name="array">1</attr>
|
||||
|
|
|
@ -58,6 +58,7 @@ customs = \
|
|||
Pixmap.custom \
|
||||
Pixbuf.custom \
|
||||
PixbufAnimation.custom \
|
||||
PixbufFormat.custom \
|
||||
PixbufFrame.custom \
|
||||
PixbufLoader.custom \
|
||||
Pixdata.custom \
|
||||
|
|
38
gdk/PixbufFormat.custom
Normal file
38
gdk/PixbufFormat.custom
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue