Made alias Symbol GdkRgba to GdkRGBA. This will provide properties of the type GdkRGBA in Gtk.

This commit is contained in:
Mikkel Kruse Johnsen 2016-05-17 08:59:19 +02:00
parent 36b6b713e6
commit c1daeff0eb
4 changed files with 10 additions and 3 deletions

View file

@ -123,6 +123,7 @@
<attr path="/api/namespace/interface[@cname='GtkCellLayout']/*[@name='GetCells']/return-type" name="element_type">GtkCellRenderer*</attr>
<attr path="/api/namespace/interface[@cname='GtkCellLayout']/*[@name='GetCells']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GtkCellLayout']/method[@name='SetAttributes']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GtkColorChooser']/property[@cname='rgba']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GtkEditable']/method[@name='GetEditable']" name="name">GetIsEditable</attr>
<attr path="/api/namespace/interface[@cname='GtkEditable']/method[@name='InsertText']/*/*[@name='position']" name="pass_as">ref</attr>
<attr path="/api/namespace/interface[@cname='GtkEditable']/method[@name='SetEditable']" name="name">SetIsEditable</attr>
@ -302,7 +303,9 @@
<attr path="/api/namespace/object[@cname='GtkClipboard']/method[@name='RequestRichText']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkClipboard']/signal" name="block_glue">1</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/method[@name='GetColor']/*/*[@name='color']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/property[@name='Rgba']" name="type">GdkRGBA</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/method[@cname='gtk_color_button_get_rgba']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/method[@cname='gtk_color_button_set_rgba']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/property[@cname='rgba']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkColorButton']/property[@cname='use-alpha']" name="name">HasAlpha</attr>
<attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='GetCurrentColor']/*/*[@name='color']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkColorSelection']/method[@name='GetPreviousColor']" name="hidden">1</attr>
@ -352,6 +355,8 @@
<attr path="/api/namespace/object[@cname='GtkDialog']/method[@cname='gtk_dialog_set_alternative_button_order_from_array']" name="name">SetAlternativeButtonOrder</attr>
<attr path="/api/namespace/object[@cname='GtkDialog']/method[@name='SetAlternativeButtonOrder']/*/*[@name='new_order']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GtkEntry']/property[@name='Editable']" name="hidden">1</attr>
<remove-node path="/api/namespace/object[@cname='GtkEntry']/property[@name='InvisibleChar']" />
<remove-node path="/api/namespace/object[@cname='GtkEntry']/property[@name='InnerBorder']" />
<attr path="/api/namespace/object[@cname='GtkEntry']/signal[@name='Activate']" name="name">Activated</attr>
<attr path="/api/namespace/object[@cname='GtkEntry']/signal[@name='CopyClipboard']" name="name">ClipboardCopied</attr>
<attr path="/api/namespace/object[@cname='GtkEntry']/signal[@name='CutClipboard']" name="name">ClipboardCut</attr>

View file

@ -9998,6 +9998,8 @@
<property name="MaxLength" cname="max-length" type="gint" readable="true" writeable="true" />
<property name="Visibility" cname="visibility" type="gboolean" readable="true" writeable="true" />
<property name="HasFrame" cname="has-frame" type="gboolean" readable="true" writeable="true" />
<property name="InnerBorder" cname="inner-border" type="GtkBorder" readable="true" writeable="true" />
<property name="InvisibleChar" cname="invisible-char" type="gunichar" readable="true" writeable="true" />
<property name="ActivatesDefault" cname="activates-default" type="gboolean" readable="true" writeable="true" />
<property name="WidthChars" cname="width-chars" type="gint" readable="true" writeable="true" />
<property name="MaxWidthChars" cname="max-width-chars" type="gint" readable="true" writeable="true" />
@ -34275,4 +34277,4 @@
<static-string cname="GTK_STOCK_ZOOM_OUT" name="ZoomOut" value="gtk-zoom-out" />
</object>
</namespace>
</api>
</api>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<api>
<symbol type="alias" cname="GtkType" name="GType"/>
<symbol type="alias" cname="GdkRgba" name="GdkRGBA"/>
</api>

View file

@ -987,7 +987,6 @@ sub addPropElem
} else {
$name =~ s/\s*\"//g;
}
$mode = $params[$#params];
if ($type =~ /boolean|float|double|^u?int|pointer|unichar/) {