atk 0.90.7-x86-mingw32 → 0.90.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,29 +49,25 @@ atk_text_range_get_type(void)
49
49
  /**********************************/
50
50
  /* Struct accessors */
51
51
  static VALUE
52
- atktextrange_bounds(self)
53
- VALUE self;
52
+ atktextrange_bounds(VALUE self)
54
53
  {
55
54
  return BOXED2RVAL(&_SELF(self)->bounds, ATK_TYPE_TEXT_RECTANGLE);
56
55
  }
57
56
 
58
57
  static VALUE
59
- atktextrange_start_offset(self)
60
- VALUE self;
58
+ atktextrange_start_offset(VALUE self)
61
59
  {
62
60
  return INT2NUM(_SELF(self)->start_offset);
63
61
  }
64
62
 
65
63
  static VALUE
66
- atktextrange_end_offset(self)
67
- VALUE self;
64
+ atktextrange_end_offset(VALUE self)
68
65
  {
69
66
  return INT2NUM(_SELF(self)->end_offset);
70
67
  }
71
68
 
72
69
  static VALUE
73
- atktextrange_content(self)
74
- VALUE self;
70
+ atktextrange_content(VALUE self)
75
71
  {
76
72
  return CSTR2RVAL(_SELF(self)->content);
77
73
  }
@@ -49,8 +49,7 @@ atk_text_rectangle_get_type(void)
49
49
  /**********************************/
50
50
 
51
51
  static VALUE
52
- atktextrect_initialize(self, x, y, width, height)
53
- VALUE self, x, y, width, height;
52
+ atktextrect_initialize(VALUE self, VALUE x, VALUE y, VALUE width, VALUE height)
54
53
  {
55
54
  AtkTextRectangle new;
56
55
 
@@ -65,68 +64,59 @@ atktextrect_initialize(self, x, y, width, height)
65
64
 
66
65
  /* Struct accessors */
67
66
  static VALUE
68
- atktextrect_x(self)
69
- VALUE self;
67
+ atktextrect_x(VALUE self)
70
68
  {
71
69
  return INT2NUM(_SELF(self)->x);
72
70
  }
73
71
 
74
72
  static VALUE
75
- atktextrect_y(self)
76
- VALUE self;
73
+ atktextrect_y(VALUE self)
77
74
  {
78
75
  return INT2NUM(_SELF(self)->y);
79
76
  }
80
77
 
81
78
  static VALUE
82
- atktextrect_w(self)
83
- VALUE self;
79
+ atktextrect_w(VALUE self)
84
80
  {
85
81
  return INT2NUM(_SELF(self)->width);
86
82
  }
87
83
 
88
84
  static VALUE
89
- atktextrect_h(self)
90
- VALUE self;
85
+ atktextrect_h(VALUE self)
91
86
  {
92
87
  return INT2NUM(_SELF(self)->height);
93
88
  }
94
89
 
95
90
  static VALUE
96
- atktextrect_set_x(self, x)
97
- VALUE self, x;
91
+ atktextrect_set_x(VALUE self, VALUE x)
98
92
  {
99
93
  _SELF(self)->x = NUM2INT(x);
100
94
  return self;
101
95
  }
102
96
 
103
97
  static VALUE
104
- atktextrect_set_y(self, y)
105
- VALUE self, y;
98
+ atktextrect_set_y(VALUE self, VALUE y)
106
99
  {
107
100
  _SELF(self)->y = NUM2INT(y);
108
101
  return self;
109
102
  }
110
103
 
111
104
  static VALUE
112
- atktextrect_set_w(self, width)
113
- VALUE self, width;
105
+ atktextrect_set_w(VALUE self, VALUE width)
114
106
  {
115
107
  _SELF(self)->width = NUM2INT(width);
116
108
  return self;
117
109
  }
118
110
 
119
111
  static VALUE
120
- atktextrect_set_h(self, height)
121
- VALUE self, height;
112
+ atktextrect_set_h(VALUE self, VALUE height)
122
113
  {
123
114
  _SELF(self)->height = NUM2INT(height);
124
115
  return self;
125
116
  }
126
117
 
127
118
  static VALUE
128
- atktextrect_to_a(self)
129
- VALUE self;
119
+ atktextrect_to_a(VALUE self)
130
120
  {
131
121
  AtkTextRectangle* a = _SELF(self);
132
122
  return rb_ary_new3(4, INT2FIX(a->x), INT2FIX(a->y),
data/ext/atk/rbatkutil.c CHANGED
@@ -26,8 +26,7 @@ void atk_remove_global_event_listener
26
26
  */
27
27
 
28
28
  static VALUE
29
- rbatk_focus_tracker_notify(self, obj)
30
- VALUE self, obj;
29
+ rbatk_focus_tracker_notify(VALUE self, VALUE obj)
31
30
  {
32
31
  atk_focus_tracker_notify(ATK_OBJECT(RVAL2GOBJ(obj)));
33
32
  return self;
@@ -45,8 +44,7 @@ key_snoop_func(AtkKeyEventStruct* event, gpointer func)
45
44
  }
46
45
 
47
46
  static VALUE
48
- rbatk_add_key_event_listener(self)
49
- VALUE self;
47
+ rbatk_add_key_event_listener(VALUE self)
50
48
  {
51
49
  guint ret;
52
50
  VALUE func = rb_block_proc();
@@ -56,39 +54,34 @@ rbatk_add_key_event_listener(self)
56
54
  }
57
55
 
58
56
  static VALUE
59
- rbatk_remove_key_event_listener(self, id)
60
- VALUE self, id;
57
+ rbatk_remove_key_event_listener(VALUE self, VALUE id)
61
58
  {
62
59
  atk_remove_key_event_listener(NUM2UINT(id));
63
60
  return self;
64
61
  }
65
62
 
66
63
  static VALUE
67
- rbatk_get_root(self)
68
- VALUE self;
64
+ rbatk_get_root(VALUE self)
69
65
  {
70
66
  return GOBJ2RVAL(atk_get_root());
71
67
  }
72
68
 
73
69
  #if ATK_CHECK_VERSION(1,6,0)
74
70
  static VALUE
75
- rbatk_get_focus_object(self)
76
- VALUE self;
71
+ rbatk_get_focus_object(VALUE self)
77
72
  {
78
73
  return GOBJ2RVAL(atk_get_focus_object());
79
74
  }
80
75
  #endif
81
76
 
82
77
  static VALUE
83
- rbatk_get_toolkit_name(self)
84
- VALUE self;
78
+ rbatk_get_toolkit_name(VALUE self)
85
79
  {
86
80
  return CSTR2RVAL(atk_get_toolkit_name());
87
81
  }
88
82
 
89
83
  static VALUE
90
- rbatk_get_toolkit_version(self)
91
- VALUE self;
84
+ rbatk_get_toolkit_version(VALUE self)
92
85
  {
93
86
  return CSTR2RVAL(atk_get_toolkit_version());
94
87
  }
data/ext/atk/rbatkvalue.c CHANGED
@@ -14,8 +14,7 @@
14
14
  #define _SELF(s) (ATK_VALUE(RVAL2GOBJ(s)))
15
15
 
16
16
  static VALUE
17
- rbatk_value_get_current_value(self)
18
- VALUE self;
17
+ rbatk_value_get_current_value(VALUE self)
19
18
  {
20
19
  GValue gval = {0,};
21
20
  atk_value_get_current_value(_SELF(self), &gval);
@@ -25,8 +24,7 @@ rbatk_value_get_current_value(self)
25
24
 
26
25
 
27
26
  static VALUE
28
- rbatk_value_get_maximum_value(self)
29
- VALUE self;
27
+ rbatk_value_get_maximum_value(VALUE self)
30
28
  {
31
29
  GValue gval = {0,};
32
30
  atk_value_get_maximum_value(_SELF(self), &gval);
@@ -35,8 +33,7 @@ rbatk_value_get_maximum_value(self)
35
33
  }
36
34
 
37
35
  static VALUE
38
- rbatk_value_get_minimum_value(self)
39
- VALUE self;
36
+ rbatk_value_get_minimum_value(VALUE self)
40
37
  {
41
38
  GValue gval = {0,};
42
39
  atk_value_get_minimum_value(_SELF(self), &gval);
@@ -45,8 +42,7 @@ rbatk_value_get_minimum_value(self)
45
42
  }
46
43
 
47
44
  static VALUE
48
- rbatk_value_set_current_value(self, value)
49
- VALUE self, value;
45
+ rbatk_value_set_current_value(VALUE self, VALUE value)
50
46
  {
51
47
  GValue gval = {0,};
52
48
  g_value_init(&gval, RVAL2GTYPE(value));
data/lib/1.8/atk.so CHANGED
Binary file
data/lib/1.9/atk.so CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 377
4
+ hash: 359
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 7
10
- version: 0.90.7
9
+ - 8
10
+ version: 0.90.8
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-02 00:00:00 +09:00
18
+ date: 2011-03-04 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 377
29
+ hash: 359
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 7
34
- version: 0.90.7
33
+ - 8
34
+ version: 0.90.8
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/ATK is a Ruby binding of ATK-1.0.x.