Commit 302bc8a0 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix current_symbol handling in visit_property_accessor add missing

2007-06-30  Juerg Billeter  <j@bitron.ch>

	* vala/valasymbolbuilder.vala: fix current_symbol handling in
	  visit_property_accessor
	* vapigen/valagidlparser.vala: add missing NoArrayLength attribute,
	  support hiding signals
	* vapi/glib-2.0.vala: add GConnectFlags
	* vapi/packages/pango/pango.gidl, vapi/pango.vala: updated to
	  Pango 1.17.3
	* vapi/packages/gdk-2.0/gdk-2.0.gidl,
	  vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
	  vapi/packages/gtk+-2.0/gtk+-2.0.metadata, vapi/gdk-2.0.vala,
	  vapi/gtk+-2.0.vala: updated to GTK+ 2.11.4, some small
	  GtkTreeModel/GtkTreeStore fixes

svn path=/trunk/; revision=325
parent 5cfdd606
2007-06-30 Jürg Billeter <j@bitron.ch>
* vala/valasymbolbuilder.vala: fix current_symbol handling in
visit_property_accessor
* vapigen/valagidlparser.vala: add missing NoArrayLength attribute,
support hiding signals
* vapi/glib-2.0.vala: add GConnectFlags
* vapi/packages/pango/pango.gidl, vapi/pango.vala: updated to
Pango 1.17.3
* vapi/packages/gdk-2.0/gdk-2.0.gidl,
vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
vapi/packages/gtk+-2.0/gtk+-2.0.metadata, vapi/gdk-2.0.vala,
vapi/gtk+-2.0.vala: updated to GTK+ 2.11.4, some small
GtkTreeModel/GtkTreeStore fixes
2007-06-15 Jürg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
......
......@@ -351,6 +351,7 @@ public class Vala.SymbolBuilder : CodeVisitor {
var prop = (Property) acc.symbol.parent_symbol.node;
if (prop.interface_only || prop.is_abstract) {
current_symbol = current_symbol.parent_symbol;
return;
}
......
......@@ -640,6 +640,7 @@ namespace Gdk {
[NoArrayLength]
public void store_clipboard (Gdk.Window clipboard_window, uint time_, Gdk.Atom[] targets, int n_targets);
public bool supports_clipboard_persistence ();
public bool supports_composite ();
public bool supports_cursor_alpha ();
public bool supports_cursor_color ();
public bool supports_input_shapes ();
......@@ -1022,6 +1023,7 @@ namespace Gdk {
public class Window : Gdk.Drawable {
public void add_filter (Gdk.FilterFunc function, pointer data);
public static weak Gdk.Window at_pointer (int win_x, int win_y);
public void beep ();
public void begin_move_drag (int button, int root_x, int root_y, uint timestamp);
public void begin_paint_rect (ref Gdk.Rectangle rectangle);
public void begin_paint_region (Gdk.Region region);
......@@ -1092,6 +1094,7 @@ namespace Gdk {
public void set_background (ref Gdk.Color color);
public void set_child_input_shapes ();
public void set_child_shapes ();
public void set_composited (bool composited);
public void set_cursor (Gdk.Cursor cursor);
public static void set_debug_updates (bool setting);
public void set_decorations (Gdk.WMDecoration decorations);
......@@ -1106,10 +1109,12 @@ namespace Gdk {
public void set_keep_above (bool setting);
public void set_keep_below (bool setting);
public void set_modal_hint (bool modal);
public void set_opacity (double opacity);
public void set_override_redirect (bool override_redirect);
public void set_role (string role);
public void set_skip_pager_hint (bool skips_pager);
public void set_skip_taskbar_hint (bool skips_taskbar);
public void set_startup_id (string startup_id);
public bool set_static_gravities (bool use_static);
public void set_title (string title);
public void set_transient_for (Gdk.Window parent);
......@@ -1165,6 +1170,8 @@ namespace Gdk {
[InstanceByReference]
public uint hash ();
public static bool parse (string spec, ref Gdk.Color color);
[InstanceByReference]
public weak string to_string ();
}
[ReferenceType]
public struct Cursor {
......@@ -1444,6 +1451,12 @@ namespace Gdk {
public int level;
}
[ReferenceType]
public struct PangoAttrEmbossColor {
public weak Pango.Attribute attr;
public Pango.Color color;
public PangoAttrEmbossColor (ref Gdk.Color color);
}
[ReferenceType]
public struct PangoAttrEmbossed {
public weak Pango.Attribute attr;
public bool embossed;
......@@ -1481,6 +1494,14 @@ namespace Gdk {
public weak Gdk.Pixbuf revert;
}
[ReferenceType]
public struct PixbufScaledAnim {
public static GLib.Type get_type ();
public static GLib.Type iter_get_type ();
}
[ReferenceType]
public struct PixbufScaledAnimClass {
}
[ReferenceType]
public struct Pixdata {
public uint magic;
public int length;
......@@ -1630,6 +1651,7 @@ namespace Gdk {
public uint guffaw_gravity;
public uint input_only;
public uint modal_hint;
public uint composited;
public uint destroyed;
public uint accept_focus;
public uint focus_on_map;
......@@ -1707,6 +1729,7 @@ namespace Gdk {
public Event (Gdk.EventType type);
public static weak Gdk.Event peek ();
public void put ();
public static void request_motions (Gdk.EventMotion event);
public bool send_client_message (pointer winid);
public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, pointer winid);
public void send_clientmessage_toall ();
......@@ -1737,6 +1760,11 @@ namespace Gdk {
public static uint to_upper (uint keyval);
}
[ReferenceType]
public struct Notify {
public static void startup_complete ();
public static void startup_complete_with_id (string startup_id);
}
[ReferenceType]
public struct Pango {
public static weak Pango.Context context_get ();
public static weak Pango.Context context_get_for_screen (Gdk.Screen screen);
......@@ -1805,6 +1833,10 @@ namespace Gdk {
}
[ReferenceType]
public struct Threads {
public static uint add_idle (GLib.SourceFunc function, pointer data);
public static uint add_idle_full (int priority, GLib.SourceFunc function, pointer data, GLib.DestroyNotify notify);
public static uint add_timeout (uint interval, GLib.SourceFunc function, pointer data);
public static uint add_timeout_full (int priority, uint interval, GLib.SourceFunc function, pointer data, GLib.DestroyNotify notify);
public static void enter ();
public static void init ();
public static void leave ();
......@@ -1832,7 +1864,6 @@ namespace Gdk {
public static bool get_show_events ();
public static bool init_check (int argc, string argv);
public static weak GLib.List list_visuals ();
public static void notify_startup_complete ();
public static void parse_args (int argc, string argv);
public static void pre_parse_libgtk_only ();
public static void set_double_click_time (uint msec);
......
......@@ -602,7 +602,13 @@ namespace GLib {
ACTION,
NO_HOOKS
}
[CCode (cprefix = "G_CONNECT_")]
public enum ConnectFlags {
AFTER,
SWAPPED
}
public callback void Callback ();
public struct Closure {
......
This diff is collapsed.
......@@ -998,6 +998,12 @@
<parameter name="display" type="GdkDisplay*"/>
</parameters>
</method>
<method name="supports_composite" symbol="gdk_display_supports_composite">
<return-type type="gboolean"/>
<parameters>
<parameter name="display" type="GdkDisplay*"/>
</parameters>
</method>
<method name="supports_cursor_alpha" symbol="gdk_display_supports_cursor_alpha">
<return-type type="gboolean"/>
<parameters>
......@@ -3375,6 +3381,12 @@
<parameter name="win_y" type="gint*"/>
</parameters>
</method>
<method name="beep" symbol="gdk_window_beep">
<return-type type="void"/>
<parameters>
<parameter name="window" type="GdkWindow*"/>
</parameters>
</method>
<method name="begin_move_drag" symbol="gdk_window_begin_move_drag">
<return-type type="void"/>
<parameters>
......@@ -3881,6 +3893,13 @@
<parameter name="window" type="GdkWindow*"/>
</parameters>
</method>
<method name="set_composited" symbol="gdk_window_set_composited">
<return-type type="void"/>
<parameters>
<parameter name="window" type="GdkWindow*"/>
<parameter name="composited" type="gboolean"/>
</parameters>
</method>
<method name="set_cursor" symbol="gdk_window_set_cursor">
<return-type type="void"/>
<parameters>
......@@ -3994,6 +4013,13 @@
<parameter name="modal" type="gboolean"/>
</parameters>
</method>
<method name="set_opacity" symbol="gdk_window_set_opacity">
<return-type type="void"/>
<parameters>
<parameter name="window" type="GdkWindow*"/>
<parameter name="opacity" type="gdouble"/>
</parameters>
</method>
<method name="set_override_redirect" symbol="gdk_window_set_override_redirect">
<return-type type="void"/>
<parameters>
......@@ -4022,6 +4048,13 @@
<parameter name="skips_taskbar" type="gboolean"/>
</parameters>
</method>
<method name="set_startup_id" symbol="gdk_window_set_startup_id">
<return-type type="void"/>
<parameters>
<parameter name="window" type="GdkWindow*"/>
<parameter name="startup_id" type="const-gchar*"/>
</parameters>
</method>
<method name="set_static_gravities" symbol="gdk_window_set_static_gravities">
<return-type type="gboolean"/>
<parameters>
......@@ -4218,6 +4251,12 @@
<parameter name="color" type="GdkColor*"/>
</parameters>
</method>
<method name="to_string" symbol="gdk_color_to_string">
<return-type type="gchar*"/>
<parameters>
<parameter name="color" type="const-GdkColor*"/>
</parameters>
</method>
<method deprecated="1" name="white" symbol="gdk_color_white">
<return-type type="gint"/>
<parameters>
......@@ -4592,6 +4631,16 @@
<field name="group" readable="1" type="gint" writable="1"/>
<field name="level" readable="1" type="gint" writable="1"/>
</struct>
<struct get-type="" name="GdkPangoAttrEmbossColor" opaque="true" type-name="GdkPangoAttrEmbossColor">
<field access="public" name="attr" readable="1" type="PangoAttribute" writable="1" writeable="true"/>
<field access="public" name="color" readable="1" type="PangoColor" writable="1" writeable="true"/>
<method name="new" symbol="gdk_pango_attr_emboss_color_new">
<return-type type="PangoAttribute*"/>
<parameters>
<parameter name="color" type="const-GdkColor*"/>
</parameters>
</method>
</struct>
<struct get-type="" name="GdkPangoAttrEmbossed" opaque="true" type-name="GdkPangoAttrEmbossed">
<field access="public" name="attr" readable="1" type="PangoAttribute" writable="1" writeable="true"/>
<field access="public" name="embossed" readable="1" type="gboolean" writable="1" writeable="true"/>
......@@ -4681,6 +4730,15 @@
<field name="composited" readable="1" type="GdkPixbuf*" writable="1"/>
<field name="revert" readable="1" type="GdkPixbuf*" writable="1"/>
</struct>
<struct get-type="" name="GdkPixbufScaledAnim" opaque="true" type-name="GdkPixbufScaledAnim">
<method name="get_type" symbol="gdk_pixbuf_scaled_anim_get_type">
<return-type type="GType"/>
</method>
<method name="iter_get_type" symbol="gdk_pixbuf_scaled_anim_iter_get_type">
<return-type type="GType"/>
</method>
</struct>
<struct get-type="" name="GdkPixbufScaledAnimClass" opaque="true" type-name="GdkPixbufScaledAnimClass"/>
<struct get-type="" name="GdkPixdata" type-name="GdkPixdata">
<field name="magic" readable="1" type="guint32" writable="1"/>
<field name="length" readable="1" type="gint32" writable="1"/>
......@@ -4983,6 +5041,7 @@
<field name="guffaw_gravity" readable="1" type="guint" writable="1"/>
<field name="input_only" readable="1" type="guint" writable="1"/>
<field name="modal_hint" readable="1" type="guint" writable="1"/>
<field name="composited" readable="1" type="guint" writable="1"/>
<field name="destroyed" readable="1" type="guint" writable="1"/>
<field name="accept_focus" readable="1" type="guint" writable="1"/>
<field name="focus_on_map" readable="1" type="guint" writable="1"/>
......@@ -5358,6 +5417,12 @@
<parameter name="event" type="GdkEvent*"/>
</parameters>
</method>
<method name="request_motions" symbol="gdk_event_request_motions">
<return-type type="void"/>
<parameters>
<parameter name="event" type="GdkEventMotion*"/>
</parameters>
</method>
<method name="send_client_message" symbol="gdk_event_send_client_message">
<return-type type="gboolean"/>
<parameters>
......@@ -5556,9 +5621,17 @@
<function name="list_visuals" symbol="gdk_list_visuals">
<return-type type="GList*"/>
</function>
<function name="notify_startup_complete" symbol="gdk_notify_startup_complete">
<return-type type="void"/>
</function>
<struct name="GdkNotify">
<method name="startup_complete" symbol="gdk_notify_startup_complete">
<return-type type="void"/>
</method>
<method name="startup_complete_with_id" symbol="gdk_notify_startup_complete_with_id">
<return-type type="void"/>
<parameters>
<parameter name="startup_id" type="const-gchar*"/>
</parameters>
</method>
</struct>
<struct name="GdkPango">
<method name="context_get" symbol="gdk_pango_context_get">
<return-type type="PangoContext*"/>
......@@ -6071,6 +6144,40 @@
</method>
</struct>
<struct name="GdkThreads">
<method name="add_idle" symbol="gdk_threads_add_idle">
<return-type type="guint"/>
<parameters>
<parameter name="function" type="GSourceFunc"/>
<parameter name="data" type="gpointer"/>
</parameters>
</method>
<method name="add_idle_full" symbol="gdk_threads_add_idle_full">
<return-type type="guint"/>
<parameters>
<parameter name="priority" type="gint"/>
<parameter name="function" type="GSourceFunc"/>
<parameter name="data" type="gpointer"/>
<parameter name="notify" type="GDestroyNotify"/>
</parameters>
</method>
<method name="add_timeout" symbol="gdk_threads_add_timeout">
<return-type type="guint"/>
<parameters>
<parameter name="interval" type="guint"/>
<parameter name="function" type="GSourceFunc"/>
<parameter name="data" type="gpointer"/>
</parameters>
</method>
<method name="add_timeout_full" symbol="gdk_threads_add_timeout_full">
<return-type type="guint"/>
<parameters>
<parameter name="priority" type="gint"/>
<parameter name="interval" type="guint"/>
<parameter name="function" type="GSourceFunc"/>
<parameter name="data" type="gpointer"/>
<parameter name="notify" type="GDestroyNotify"/>
</parameters>
</method>
<method name="enter" symbol="gdk_threads_enter">
<return-type type="void"/>
</method>
......
This diff is collapsed.
......@@ -39,6 +39,7 @@ GtkMenuItem::toggle_size_request has_emitter="1"
GtkMenuShell::cancel has_emitter="1"
GtkMenuShell::deactivate has_emitter="1"
gtk_object_destroy hidden="1" experimental="1"
GtkPlug::embedded hidden="1"
gtk_printer_accepts_pdf hidden="1" experimental="1"
gtk_printer_accepts_ps hidden="1" experimental="1"
gtk_printer_is_virtual hidden="1" experimental="1"
......@@ -59,12 +60,15 @@ GtkToggleActionEntry is_value_type="1"
GtkToggleButton::toggled has_emitter="1"
GtkToolItem::set_tooltip has_emitter="1"
GtkTreeIter is_value_type="1"
gtk_tree_model_get ellipsis="1"
GtkTreeModel::row_changed has_emitter="1"
GtkTreeModel::row_deleted has_emitter="1"
GtkTreeModel::row_has_child_toggled has_emitter="1"
GtkTreeModel::row_inserted has_emitter="1"
GtkTreeModel::rows_reordered has_emitter="1"
GtkTreePath is_value_type="0"
gtk_tree_store_new ellipsis="1"
gtk_tree_store_insert_with_values ellipsis="1"
gtk_tree_store_set ellipsis="1"
GtkTreeSortable::sort_column_changed has_emitter="1"
gtk_tree_view_insert_column_with_attributes ellipsis="1"
......
......@@ -212,6 +212,15 @@
<parameter name="data" type="gpointer"/>
</parameters>
</callback>
<callback name="PangoCairoShapeRendererFunc" type-name="PangoCairoShapeRendererFunc">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="attr" type="PangoAttrShape*"/>
<parameter name="do_path" type="gboolean"/>
<parameter name="data" type="gpointer"/>
</parameters>
</callback>
<callback name="PangoFontsetForeachFunc" type-name="PangoFontsetForeachFunc">
<return-type type="gboolean"/>
<parameters>
......@@ -230,6 +239,12 @@
<method name="get_default" symbol="pango_cairo_font_map_get_default">
<return-type type="PangoFontMap*"/>
</method>
<method name="get_font_type" symbol="pango_cairo_font_map_get_font_type">
<return-type type="cairo_font_type_t"/>
<parameters>
<parameter name="fontmap" type="PangoCairoFontMap*"/>
</parameters>
</method>
<method name="get_resolution" symbol="pango_cairo_font_map_get_resolution">
<return-type type="double"/>
<parameters>
......@@ -240,6 +255,11 @@
<return-type type="GType"/>
</method>
<constructor name="new" symbol="pango_cairo_font_map_new"/>
<constructor name="new_for_font_type" symbol="pango_cairo_font_map_new_for_font_type">
<parameters>
<parameter name="fonttype" type="cairo_font_type_t"/>
</parameters>
</constructor>
<method name="set_resolution" symbol="pango_cairo_font_map_set_resolution">
<return-type type="void"/>
<parameters>
......@@ -477,6 +497,12 @@
<method name="get_type" symbol="pango_font_face_get_type">
<return-type type="GType"/>
</method>
<method name="is_synthesized" symbol="pango_font_face_is_synthesized">
<return-type type="gboolean"/>
<parameters>
<parameter name="face" type="PangoFontFace*"/>
</parameters>
</method>
<method name="list_sizes" symbol="pango_font_face_list_sizes">
<return-type type="void"/>
<parameters>
......@@ -1127,6 +1153,7 @@
<field name="level" readable="1" type="guint8" writable="1"/>
<field name="gravity" readable="1" type="guint8" writable="1"/>
<field name="flags" readable="1" type="guint8" writable="1"/>
<field name="script" readable="1" type="guint8" writable="1"/>
<field name="language" readable="1" type="PangoLanguage*" writable="1"/>
<field name="extra_attrs" readable="1" type="GSList*" writable="1"/>
</struct>
......@@ -2132,6 +2159,7 @@
<field name="is_sentence_start" readable="1" type="guint" writable="1"/>
<field name="is_sentence_end" readable="1" type="guint" writable="1"/>
<field name="backspace_deletes_character" readable="1" type="guint" writable="1"/>
<field name="is_expandable_space" readable="1" type="guint" writable="1"/>
</struct>
<boxed get-type="" name="PangoMatrix" type-name="PangoMatrix">
<field name="xx" readable="1" type="double" writable="1"/>
......@@ -2499,6 +2527,13 @@
<parameter name="context" type="PangoContext*"/>
</parameters>
</method>
<method name="context_get_shape_renderer" symbol="pango_cairo_context_get_shape_renderer">
<return-type type="PangoCairoShapeRendererFunc"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="data" type="gpointer*"/>
</parameters>
</method>
<method name="context_set_font_options" symbol="pango_cairo_context_set_font_options">
<return-type type="void"/>
<parameters>
......@@ -2513,6 +2548,15 @@
<parameter name="dpi" type="double"/>
</parameters>
</method>
<method name="context_set_shape_renderer" symbol="pango_cairo_context_set_shape_renderer">
<return-type type="void"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="func" type="PangoCairoShapeRendererFunc"/>
<parameter name="data" type="gpointer"/>
<parameter name="dnotify" type="GDestroyNotify"/>
</parameters>
</method>
<method name="create_layout" symbol="pango_cairo_create_layout">
<return-type type="PangoLayout*"/>
<parameters>
......@@ -2529,6 +2573,12 @@
<parameter name="height" type="double"/>
</parameters>
</method>
<method name="font_get_scaled_font" symbol="pango_cairo_font_get_scaled_font">
<return-type type="cairo_scaled_font_t*"/>
<parameters>
<parameter name="font" type="PangoFont*"/>
</parameters>
</method>
<method name="glyph_string_path" symbol="pango_cairo_glyph_string_path">
<return-type type="void"/>
<parameters>
......
......@@ -213,9 +213,11 @@ namespace Pango {
public class CairoFontMap : GLib.Object {
public weak Pango.Context create_context ();
public static weak Pango.FontMap get_default ();
public pointer get_font_type ();
public double get_resolution ();
public static GLib.Type get_type ();
public CairoFontMap ();
public CairoFontMap.for_font_type (pointer fonttype);
public void set_resolution (double dpi);
}
[CCode (cheader_filename = "pango/pango.h")]
......@@ -266,6 +268,7 @@ namespace Pango {
public weak Pango.FontDescription describe ();
public weak string get_face_name ();
public static GLib.Type get_type ();
public bool is_synthesized ();
[NoArrayLength]
public void list_sizes (int[] sizes, int n_sizes);
}
......@@ -368,6 +371,7 @@ namespace Pango {
public uchar level;
public uchar gravity;
public uchar @flags;
public uchar script;
public weak Pango.Language language;
public weak GLib.SList extra_attrs;
}
......@@ -400,7 +404,7 @@ namespace Pango {
public struct AttrIterator {
public weak Pango.AttrIterator copy ();
public void destroy ();
public weak Pango.Attribute @get (Pango.AttrType type);
public weak Pango.Attribute get (Pango.AttrType type);
public weak GLib.SList get_attrs ();
public void get_font (Pango.FontDescription desc, Pango.Language language, GLib.SList extra_attrs);
public bool next ();
......@@ -477,11 +481,11 @@ namespace Pango {
public weak Pango.Coverage copy ();
[NoArrayLength]
public static weak Pango.Coverage from_bytes (uchar[] bytes, int n_bytes);
public Pango.CoverageLevel @get (int index_);
public Pango.CoverageLevel get (int index_);
public void max (Pango.Coverage other);
public Coverage ();
public weak Pango.Coverage @ref ();
public void @set (int index_, Pango.CoverageLevel level);
public void set (int index_, Pango.CoverageLevel level);
[NoArrayLength]
public void to_bytes (uchar[] bytes, int n_bytes);
public void unref ();
......@@ -662,6 +666,7 @@ namespace Pango {
public uint is_sentence_start;
public uint is_sentence_end;
public uint backspace_deletes_character;
public uint is_expandable_space;
}
public struct Matrix {
public double xx;
......@@ -754,10 +759,13 @@ namespace Pango {
public struct Cairo {
public static pointer context_get_font_options (Pango.Context context);
public static double context_get_resolution (Pango.Context context);
public static Pango.CairoShapeRendererFunc context_get_shape_renderer (Pango.Context context, pointer data);
public static void context_set_font_options (Pango.Context context, pointer options);
public static void context_set_resolution (Pango.Context context, double dpi);
public static void context_set_shape_renderer (Pango.Context context, Pango.CairoShapeRendererFunc func, pointer data, GLib.DestroyNotify dnotify);
public static weak Pango.Layout create_layout (Cairo.Context cr);
public static void error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
public static pointer font_get_scaled_font (Pango.Font font);
public static void glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
public static void layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
public static void layout_path (Cairo.Context cr, Pango.Layout layout);
......@@ -780,6 +788,7 @@ namespace Pango {
}
public callback pointer AttrDataCopyFunc (pointer data);
public callback bool AttrFilterFunc (Pango.Attribute attribute, pointer data);
public callback void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path, pointer data);
public callback bool FontsetForeachFunc (Pango.Fontset fontset, Pango.Font font, pointer data);
public static void extents_to_pixels (ref Pango.Rectangle ink_rect, ref Pango.Rectangle logical_rect);
public static Pango.Direction find_base_dir (string text, int length);
......
......@@ -845,7 +845,8 @@ public class Vala.GIdlParser : CodeVisitor {
return field;
}
[NoArrayLength]
private ref string[] get_attributes (string! codenode) {
string attributes = codenode_attributes_map.lookup (codenode);
if (attributes == null) {
......@@ -878,6 +879,10 @@ public class Vala.GIdlParser : CodeVisitor {
sig.name = eval (nv[1]);
} else if (nv[0] == "has_emitter" && eval (nv[1]) == "1") {
sig.has_emitter = true;
} else if (nv[0] == "hidden") {
if (eval (nv[1]) == "1") {
return null;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment