changeset 3210:8e428e825838

Updated #295: Added @tags to Subtlext::Client and Subtlext::View
author unexist
date Tue, 29 May 2012 23:14:13 +0200
parents d689396e814e
children 85df5175a2a7
files src/subtle/ruby.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/ruby.c	Wed May 23 01:44:10 2012 +0200
+++ b/src/subtle/ruby.c	Tue May 29 23:14:13 2012 +0200
@@ -157,6 +157,7 @@
           /* Set properties */
           rb_iv_set(object, "@win",      LONG2NUM(c->win));
           rb_iv_set(object, "@flags",    INT2FIX(flags));
+          rb_iv_set(object, "@tags",     INT2FIX(c->tags));
           rb_iv_set(object, "@name",     rb_str_new2(c->name));
           rb_iv_set(object, "@instance", rb_str_new2(c->instance));
           rb_iv_set(object, "@klass",    rb_str_new2(c->klass));
@@ -205,7 +206,8 @@
           object = rb_funcall(klass, rb_intern("new"), 1, rb_str_new2(v->name));
 
           /* Set properties */
-          rb_iv_set(object, "@id",  INT2FIX(id));
+          rb_iv_set(object, "@id",   INT2FIX(id));
+          rb_iv_set(object, "@tags", INT2FIX(v->tags));
         } /* }}} */
     }