changeset 3235:8a1fe957faf1

Updated #302: Fixed int -> fixnum conversion..
author unexist
date Fri, 21 Sep 2012 12:21:56 +0200
parents e6cd8d1d5512
children 948edcabee99
files src/subtlext/client.c src/subtlext/view.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtlext/client.c	Fri Sep 21 12:20:52 2012 +0200
+++ b/src/subtlext/client.c	Fri Sep 21 12:21:56 2012 +0200
@@ -533,7 +533,7 @@
   rb_iv_set(self, "@gravity",  Qnil);
   rb_iv_set(self, "@screen",   Qnil);
   rb_iv_set(self, "@flags",    Qnil);
-  rb_iv_set(self, "@tags",     FIX2INT(0));
+  rb_iv_set(self, "@tags",     INT2FIX(0));
 
   subextSubtlextConnect(NULL); ///< Implicit open connection
 
--- a/src/subtlext/view.c	Fri Sep 21 12:20:52 2012 +0200
+++ b/src/subtlext/view.c	Fri Sep 21 12:21:56 2012 +0200
@@ -344,7 +344,7 @@
   /* Init object */
   rb_iv_set(self, "@id",   Qnil);
   rb_iv_set(self, "@name", name);
-  rb_iv_set(self, "@tags", FIX2INT(0));
+  rb_iv_set(self, "@tags", INT2FIX(0));
 
   subextSubtlextConnect(NULL); ///< Implicit open connection