gtksourceview2 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.
data/ChangeLog CHANGED
@@ -1,3 +1,12 @@
1
+ 2011-02-12 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * ext/gtksourceview2/depend: fix .pc path. #3178294
4
+ Reported by OBATA Akio. Thanks!!!
5
+
6
+ 2011-02-05 Masaaki Aoyagi
7
+
8
+ * ext/gtksourceview2/*.c: change to ANSI C style.
9
+
1
10
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
11
 
3
12
  * ./: support gem build for Windows.
@@ -1,5 +1,5 @@
1
1
  install:
2
2
  if test -n "$(pkgconfigdir)"; then \
3
3
  $(MAKEDIRS) $(pkgconfigdir); \
4
- $(INSTALL_DATA) ../ruby-gtksourceview2.pc $(pkgconfigdir); \
4
+ $(INSTALL_DATA) ruby-gtksourceview2.pc $(pkgconfigdir); \
5
5
  fi
@@ -33,10 +33,7 @@
33
33
  * Returns: a newly created Gtk::SourceBuffer object.
34
34
  */
35
35
  static VALUE
36
- sourcebuffer_new (argc, argv, self)
37
- int argc;
38
- VALUE *argv;
39
- VALUE self;
36
+ sourcebuffer_new(int argc, VALUE *argv, VALUE self)
40
37
  {
41
38
  VALUE val;
42
39
 
@@ -99,8 +96,7 @@ gboolean gtk_source_buffer_can_undo (GtkSourceBuffer *buffer
99
96
  * Returns: self.
100
97
  */
101
98
  static VALUE
102
- sourcebuffer_redo (self)
103
- VALUE self;
99
+ sourcebuffer_redo(VALUE self)
104
100
  {
105
101
  gtk_source_buffer_redo (_SELF (self));
106
102
  return self;
@@ -120,8 +116,7 @@ sourcebuffer_redo (self)
120
116
  * Returns: self.
121
117
  */
122
118
  static VALUE
123
- sourcebuffer_undo (self)
124
- VALUE self;
119
+ sourcebuffer_undo(VALUE self)
125
120
  {
126
121
  gtk_source_buffer_undo (_SELF (self));
127
122
  return self;
@@ -143,8 +138,7 @@ sourcebuffer_undo (self)
143
138
  * Returns: self
144
139
  */
145
140
  static VALUE
146
- sourcebuffer_begin_not_undoable_action(self)
147
- VALUE self;
141
+ sourcebuffer_begin_not_undoable_action(VALUE self)
148
142
  {
149
143
  gtk_source_buffer_begin_not_undoable_action (_SELF (self));
150
144
 
@@ -166,8 +160,7 @@ sourcebuffer_begin_not_undoable_action(self)
166
160
  * Returns: self
167
161
  */
168
162
  static VALUE
169
- sourcebuffer_end_not_undoable_action(self)
170
- VALUE self;
163
+ sourcebuffer_end_not_undoable_action(VALUE self)
171
164
  {
172
165
  gtk_source_buffer_end_not_undoable_action (_SELF (self));
173
166
  return self;
@@ -189,8 +182,7 @@ sourcebuffer_end_not_undoable_action(self)
189
182
  * Returns: the return value of the provided block.
190
183
  */
191
184
  static VALUE
192
- sourcebuffer_not_undoable_action (self)
193
- VALUE self;
185
+ sourcebuffer_not_undoable_action(VALUE self)
194
186
  {
195
187
  VALUE block, ret;
196
188
 
@@ -232,9 +224,7 @@ sourcebuffer_not_undoable_action (self)
232
224
  * Returns: a new Gtk::SourceMark object, owned by the buffer.
233
225
  */
234
226
  static VALUE
235
- sourcebuffer_create_source_mark (argc, argv, self)
236
- int argc;
237
- VALUE *argv, self;
227
+ sourcebuffer_create_source_mark(int argc, VALUE *argv, VALUE self)
238
228
  {
239
229
  VALUE name, category, where;
240
230
 
@@ -250,10 +240,7 @@ sourcebuffer_create_source_mark (argc, argv, self)
250
240
  }
251
241
 
252
242
  static VALUE
253
- sourcebuffer_get_source_marks_at_line (argc, argv, self)
254
- int argc;
255
- VALUE *argv;
256
- VALUE self;
243
+ sourcebuffer_get_source_marks_at_line(int argc, VALUE *argv, VALUE self)
257
244
  {
258
245
  GSList *list, *p;
259
246
  VALUE line, category;
@@ -277,10 +264,7 @@ sourcebuffer_get_source_marks_at_line (argc, argv, self)
277
264
  }
278
265
 
279
266
  static VALUE
280
- sourcebuffer_get_source_marks_at_iter (argc, argv, self)
281
- int argc;
282
- VALUE *argv;
283
- VALUE self;
267
+ sourcebuffer_get_source_marks_at_iter(int argc, VALUE *argv, VALUE self)
284
268
  {
285
269
  GSList *list, *p;
286
270
  VALUE iter, category;
@@ -304,10 +288,7 @@ sourcebuffer_get_source_marks_at_iter (argc, argv, self)
304
288
  }
305
289
 
306
290
  static VALUE
307
- sourcebuffer_remove_source_marks (argc, argv, self)
308
- int argc;
309
- VALUE *argv;
310
- VALUE self;
291
+ sourcebuffer_remove_source_marks(int argc, VALUE *argv, VALUE self)
311
292
  {
312
293
  VALUE start, end, category;
313
294
 
@@ -322,10 +303,7 @@ sourcebuffer_remove_source_marks (argc, argv, self)
322
303
  }
323
304
 
324
305
  static VALUE
325
- sourcebuffer_forward_iter_to_source_mark (argc, argv, self)
326
- int argc;
327
- VALUE *argv;
328
- VALUE self;
306
+ sourcebuffer_forward_iter_to_source_mark(int argc, VALUE *argv, VALUE self)
329
307
  {
330
308
  VALUE iter, category;
331
309
 
@@ -338,10 +316,7 @@ sourcebuffer_forward_iter_to_source_mark (argc, argv, self)
338
316
  }
339
317
 
340
318
  static VALUE
341
- sourcebuffer_backward_iter_to_source_mark (argc, argv, self)
342
- int argc;
343
- VALUE *argv;
344
- VALUE self;
319
+ sourcebuffer_backward_iter_to_source_mark(int argc, VALUE *argv, VALUE self)
345
320
  {
346
321
  VALUE iter, category;
347
322
 
@@ -356,8 +331,7 @@ sourcebuffer_backward_iter_to_source_mark (argc, argv, self)
356
331
  #endif /* HAVE_GTK_SOURCE_MARK_GET_TYPE */
357
332
 
358
333
  static VALUE
359
- sourcebuffer_ensure_highlight (self, start, end)
360
- VALUE self, start, end;
334
+ sourcebuffer_ensure_highlight(VALUE self, VALUE start, VALUE end)
361
335
  {
362
336
  gtk_source_buffer_ensure_highlight (_SELF (self), RVAL2ITR (start), RVAL2ITR (end));
363
337
 
@@ -20,10 +20,7 @@
20
20
  * Returns: locations of start and end of match.
21
21
  */
22
22
  static VALUE
23
- forward_search (argc, argv, self)
24
- int argc;
25
- VALUE *argv;
26
- VALUE self;
23
+ forward_search(int argc, VALUE *argv, VALUE self)
27
24
  {
28
25
  GtkTextIter m_start, m_end;
29
26
  VALUE str, flags, limit;
@@ -61,10 +58,7 @@ forward_search (argc, argv, self)
61
58
  * Returns: locations of start and end of match.
62
59
  */
63
60
  static VALUE
64
- backward_search (argc, argv, self)
65
- int argc;
66
- VALUE *argv;
67
- VALUE self;
61
+ backward_search(int argc, VALUE *argv, VALUE self)
68
62
  {
69
63
  GtkTextIter m_start, m_end;
70
64
  VALUE str, flags, limit;
@@ -29,8 +29,7 @@ gboolean gtk_source_language_get_hidden (GtkSourceLanguage *lang
29
29
  * Returns: the localized metadata for the given name.
30
30
  */
31
31
  static VALUE
32
- sourcelanguage_get_metadata (self, name)
33
- VALUE self, name;
32
+ sourcelanguage_get_metadata(VALUE self, VALUE name)
34
33
  {
35
34
  return
36
35
  CSTR2RVAL (gtk_source_language_get_metadata
@@ -41,8 +40,7 @@ sourcelanguage_get_metadata (self, name)
41
40
  * Returns: a list of mime types for the given language, as an array of strings.
42
41
  */
43
42
  static VALUE
44
- sourcelanguage_get_mime_types (self)
45
- VALUE self;
43
+ sourcelanguage_get_mime_types(VALUE self)
46
44
  {
47
45
  VALUE ary;
48
46
  char **types = gtk_source_language_get_mime_types (_SELF (self));
@@ -61,8 +59,7 @@ sourcelanguage_get_mime_types (self)
61
59
  * Returns: a list of globs for the given language, as an array of strings.
62
60
  */
63
61
  static VALUE
64
- sourcelanguage_get_globs (self)
65
- VALUE self;
62
+ sourcelanguage_get_globs(VALUE self)
66
63
  {
67
64
  VALUE ary;
68
65
  char **globs = gtk_source_language_get_globs (_SELF (self));
@@ -82,8 +79,7 @@ sourcelanguage_get_globs (self)
82
79
  * Returns: the localized style name of the given id.
83
80
  */
84
81
  static VALUE
85
- sourcelanguage_get_style_name (self, style_id)
86
- VALUE self, style_id;
82
+ sourcelanguage_get_style_name(VALUE self, VALUE style_id)
87
83
  {
88
84
  return
89
85
  CSTR2RVAL (gtk_source_language_get_style_name
@@ -94,8 +90,7 @@ sourcelanguage_get_style_name (self, style_id)
94
90
  * Returns: the styles defined by the language.
95
91
  */
96
92
  static VALUE
97
- sourcelanguage_get_style_ids (self)
98
- VALUE self;
93
+ sourcelanguage_get_style_ids(VALUE self)
99
94
  {
100
95
  VALUE ary;
101
96
  gchar **ids = gtk_source_language_get_style_ids (_SELF (self));
@@ -21,8 +21,7 @@
21
21
  * Returns: a newly created Gtk::SourceLanguageManager object.
22
22
  */
23
23
  static VALUE
24
- slm_new (self)
25
- VALUE self;
24
+ slm_new(VALUE self)
26
25
  {
27
26
  G_INITIALIZE (self, gtk_source_language_manager_new ());
28
27
  return Qnil;
@@ -35,8 +34,7 @@ slm_new (self)
35
34
  * Returns: a Gtk::SourceLanguageManager
36
35
  */
37
36
  static VALUE
38
- slm_get_default(self)
39
- VALUE self;
37
+ slm_get_default(VALUE self)
40
38
  {
41
39
  GtkSourceLanguageManager* slm = gtk_source_language_manager_get_default();
42
40
  GType gtype = G_TYPE_FROM_INSTANCE(slm);
@@ -58,8 +56,7 @@ slm_get_default(self)
58
56
  * Returns: self.
59
57
  */
60
58
  static VALUE
61
- slm_set_search_path (self, dirs)
62
- VALUE self, dirs;
59
+ slm_set_search_path(VALUE self, VALUE dirs)
63
60
  {
64
61
  gchar** gdirs = (gchar**)NULL;
65
62
  gint i;
@@ -89,8 +86,7 @@ slm_set_search_path (self, dirs)
89
86
  * language manager.
90
87
  */
91
88
  static VALUE
92
- slm_get_search_path (self)
93
- VALUE self;
89
+ slm_get_search_path(VALUE self)
94
90
  {
95
91
  VALUE ary;
96
92
  const gchar * const * dirs =
@@ -110,8 +106,7 @@ slm_get_search_path (self)
110
106
  * Returns: a list of languages ids for the given language manager
111
107
  */
112
108
  static VALUE
113
- slm_get_language_ids (self)
114
- VALUE self;
109
+ slm_get_language_ids(VALUE self)
115
110
  {
116
111
  VALUE ary;
117
112
  const gchar * const * ids =
@@ -138,8 +133,7 @@ slm_get_language_ids (self)
138
133
  * with the given id.
139
134
  */
140
135
  static VALUE
141
- slm_get_language (self, id)
142
- VALUE self, id;
136
+ slm_get_language(VALUE self, VALUE id)
143
137
  {
144
138
  return
145
139
  GOBJ2RVAL (gtk_source_language_manager_get_language
@@ -158,8 +152,7 @@ slm_get_language (self, id)
158
152
  * with the given filename or content_type.
159
153
  */
160
154
  static VALUE
161
- slm_guess_language (self, filename, content_type)
162
- VALUE self, filename, content_type;
155
+ slm_guess_language(VALUE self, VALUE filename, VALUE content_type)
163
156
  {
164
157
  return GOBJ2RVAL (gtk_source_language_manager_guess_language
165
158
  (_SELF (self),
@@ -24,8 +24,7 @@
24
24
  * Returns: a newly created Gtk::SourceMark object.
25
25
  */
26
26
  static VALUE
27
- sourcemark_new (self, name, category)
28
- VALUE self, name, category;
27
+ sourcemark_new(VALUE self, VALUE name, VALUE category)
29
28
  {
30
29
  G_INITIALIZE (self,
31
30
  gtk_source_mark_new (RVAL2CSTR(name), RVAL2CSTR(category)));
@@ -42,10 +41,7 @@ const gchar* gtk_source_mark_get_category (GtkSourceMark *mark);
42
41
  * Returns: the next Gtk::SourceMark after the mark.
43
42
  */
44
43
  static VALUE
45
- sourcemark_next (argc, argv, self)
46
- int argc;
47
- VALUE *argv;
48
- VALUE self;
44
+ sourcemark_next(int argc, VALUE *argv, VALUE self)
49
45
  {
50
46
  VALUE category;
51
47
 
@@ -61,10 +57,7 @@ sourcemark_next (argc, argv, self)
61
57
  * Returns: the previous Gtk::SourceMark before the mark.
62
58
  */
63
59
  static VALUE
64
- sourcemark_prev (argc, argv, self)
65
- int argc;
66
- VALUE *argv;
67
- VALUE self;
60
+ sourcemark_prev(int argc, VALUE *argv, VALUE self)
68
61
  {
69
62
  VALUE category;
70
63
 
@@ -25,8 +25,7 @@
25
25
  * Returns: the new print compositor object.
26
26
  */
27
27
  static VALUE
28
- sprintcompositor_initialize (self, val)
29
- VALUE self, val;
28
+ sprintcompositor_initialize(VALUE self, VALUE val)
30
29
  {
31
30
  if (rb_obj_is_kind_of (val, GTYPE2CLASS (GTK_TYPE_SOURCE_BUFFER))) {
32
31
  G_INITIALIZE(self,
@@ -101,68 +100,59 @@ gint gtk_source_print_compositor_get_n_pages
101
100
  */
102
101
 
103
102
  static VALUE
104
- sprintcompositor_get_top_margin(self, unit)
105
- VALUE self, unit;
103
+ sprintcompositor_get_top_margin(VALUE self, VALUE unit)
106
104
  {
107
105
  return DBL2NUM(gtk_source_print_compositor_get_top_margin(_SELF(self), RVAL2UNIT (unit)));
108
106
  }
109
107
 
110
108
  static VALUE
111
- sprintcompositor_set_top_margin(self, top, unit)
112
- VALUE self, top, unit;
109
+ sprintcompositor_set_top_margin(VALUE self, VALUE top, VALUE unit)
113
110
  {
114
111
  gtk_source_print_compositor_set_top_margin(_SELF(self), NUM2DBL(top), RVAL2UNIT (unit));
115
112
  return self;
116
113
  }
117
114
 
118
115
  static VALUE
119
- sprintcompositor_get_bottom_margin(self, unit)
120
- VALUE self, unit;
116
+ sprintcompositor_get_bottom_margin(VALUE self, VALUE unit)
121
117
  {
122
118
  return DBL2NUM(gtk_source_print_compositor_get_bottom_margin(_SELF(self), RVAL2UNIT (unit)));
123
119
  }
124
120
 
125
121
  static VALUE
126
- sprintcompositor_set_bottom_margin(self, bottom, unit)
127
- VALUE self, bottom, unit;
122
+ sprintcompositor_set_bottom_margin(VALUE self, VALUE bottom, VALUE unit)
128
123
  {
129
124
  gtk_source_print_compositor_set_bottom_margin(_SELF(self), NUM2DBL(bottom), RVAL2UNIT (unit));
130
125
  return self;
131
126
  }
132
127
 
133
128
  static VALUE
134
- sprintcompositor_get_left_margin(self, unit)
135
- VALUE self, unit;
129
+ sprintcompositor_get_left_margin(VALUE self, VALUE unit)
136
130
  {
137
131
  return DBL2NUM(gtk_source_print_compositor_get_left_margin(_SELF(self), RVAL2UNIT (unit)));
138
132
  }
139
133
 
140
134
  static VALUE
141
- sprintcompositor_set_left_margin(self, left, unit)
142
- VALUE self, left, unit;
135
+ sprintcompositor_set_left_margin(VALUE self, VALUE left, VALUE unit)
143
136
  {
144
137
  gtk_source_print_compositor_set_left_margin(_SELF(self), NUM2DBL(left), RVAL2UNIT (unit));
145
138
  return self;
146
139
  }
147
140
 
148
141
  static VALUE
149
- sprintcompositor_get_right_margin(self, unit)
150
- VALUE self, unit;
142
+ sprintcompositor_get_right_margin(VALUE self, VALUE unit)
151
143
  {
152
144
  return DBL2NUM(gtk_source_print_compositor_get_right_margin(_SELF(self), RVAL2UNIT (unit)));
153
145
  }
154
146
 
155
147
  static VALUE
156
- sprintcompositor_set_right_margin(self, right, unit)
157
- VALUE self, right, unit;
148
+ sprintcompositor_set_right_margin(VALUE self, VALUE right, VALUE unit)
158
149
  {
159
150
  gtk_source_print_compositor_set_right_margin(_SELF(self), NUM2DBL(right), RVAL2UNIT (unit));
160
151
  return self;
161
152
  }
162
153
 
163
154
  static VALUE
164
- sprintcompositor_set_header_format(self, separator, left, center, right)
165
- VALUE self, separator, left, center, right;
155
+ sprintcompositor_set_header_format(VALUE self, VALUE separator, VALUE left, VALUE center, VALUE right)
166
156
  {
167
157
  gtk_source_print_compositor_set_header_format(_SELF(self),
168
158
  RVAL2CBOOL(separator),
@@ -173,8 +163,7 @@ sprintcompositor_set_header_format(self, separator, left, center, right)
173
163
  }
174
164
 
175
165
  static VALUE
176
- sprintcompositor_set_footer_format(self, separator, left, center, right)
177
- VALUE self, separator, left, center, right;
166
+ sprintcompositor_set_footer_format(VALUE self, VALUE separator, VALUE left, VALUE center, VALUE right)
178
167
  {
179
168
  gtk_source_print_compositor_set_footer_format(_SELF(self),
180
169
  RVAL2CBOOL(separator),
@@ -185,23 +174,20 @@ sprintcompositor_set_footer_format(self, separator, left, center, right)
185
174
  }
186
175
 
187
176
  static VALUE
188
- sprintcompositor_paginate (self, context)
189
- VALUE self, context;
177
+ sprintcompositor_paginate(VALUE self, VALUE context)
190
178
  {
191
179
  return CBOOL2RVAL (gtk_source_print_compositor_paginate (_SELF (self),
192
180
  GTK_PRINT_CONTEXT (RVAL2GOBJ (context))));
193
181
  }
194
182
 
195
183
  static VALUE
196
- sprintcompositor_get_pagination_progress (self)
197
- VALUE self;
184
+ sprintcompositor_get_pagination_progress(VALUE self)
198
185
  {
199
186
  return DBL2NUM (gtk_source_print_compositor_get_pagination_progress (_SELF (self)));
200
187
  }
201
188
 
202
189
  static VALUE
203
- sprintcompositor_draw_page (self, context, page_nr)
204
- VALUE self, context, page_nr;
190
+ sprintcompositor_draw_page(VALUE self, VALUE context, VALUE page_nr)
205
191
  {
206
192
  gtk_source_print_compositor_draw_page (_SELF (self),
207
193
  GTK_PRINT_CONTEXT (RVAL2GOBJ (context)),
@@ -16,8 +16,7 @@
16
16
  #define _SELF(self) (GTK_SOURCE_STYLE(RVAL2GOBJ(self)))
17
17
 
18
18
  static VALUE
19
- sourcestyle_copy (self)
20
- VALUE self;
19
+ sourcestyle_copy(VALUE self)
21
20
  {
22
21
  return GOBJ2RVAL (gtk_source_style_copy (_SELF (self)));
23
22
  }
@@ -29,8 +29,7 @@ const gchar* gtk_source_style_scheme_get_filename
29
29
  * Returns: a list of authors for the given style scheme.
30
30
  */
31
31
  static VALUE
32
- scheme_get_authors (self)
33
- VALUE self;
32
+ scheme_get_authors(VALUE self)
34
33
  {
35
34
  VALUE ary;
36
35
  const gchar * const * authors =
@@ -54,8 +53,7 @@ scheme_get_authors (self)
54
53
  * Returns: Gtk::SourceStyle
55
54
  */
56
55
  static VALUE
57
- scheme_get_style(self, style_name)
58
- VALUE self, style_name;
56
+ scheme_get_style(VALUE self, VALUE style_name)
59
57
  {
60
58
  return GOBJ2RVAL(gtk_source_style_scheme_get_style(_SELF(self),
61
59
  RVAL2CSTR(style_name)));
@@ -21,8 +21,7 @@
21
21
  * Returns: a newly created Gtk::SourceStyleSchemeManager object.
22
22
  */
23
23
  static VALUE
24
- sssm_new (self)
25
- VALUE self;
24
+ sssm_new(VALUE self)
26
25
  {
27
26
  G_INITIALIZE (self, gtk_source_style_scheme_manager_new ());
28
27
  return Qnil;
@@ -35,8 +34,7 @@ sssm_new (self)
35
34
  * Returns: a Gtk::SourceStyleSchemeManager
36
35
  */
37
36
  static VALUE
38
- sssm_get_default(self)
39
- VALUE self;
37
+ sssm_get_default(VALUE self)
40
38
  {
41
39
  GtkSourceStyleSchemeManager* sssm = gtk_source_style_scheme_manager_get_default();
42
40
  GType gtype = G_TYPE_FROM_INSTANCE(sssm);
@@ -58,8 +56,7 @@ sssm_get_default(self)
58
56
  * Returns: self.
59
57
  */
60
58
  static VALUE
61
- sssm_set_search_path (self, dirs)
62
- VALUE self, dirs;
59
+ sssm_set_search_path(VALUE self, VALUE dirs)
63
60
  {
64
61
  gchar** gdirs = (gchar**)NULL;
65
62
  gint i;
@@ -91,8 +88,7 @@ sssm_set_search_path (self, dirs)
91
88
  * Returns: self.
92
89
  */
93
90
  static VALUE
94
- sssm_append_search_path (self, path)
95
- VALUE self, path;
91
+ sssm_append_search_path(VALUE self, VALUE path)
96
92
  {
97
93
  gtk_source_style_scheme_manager_append_search_path (_SELF (self), RVAL2CSTR(path));
98
94
  return self;
@@ -106,8 +102,7 @@ sssm_append_search_path (self, path)
106
102
  * Returns: self.
107
103
  */
108
104
  static VALUE
109
- sssm_prepend_search_path (self, path)
110
- VALUE self, path;
105
+ sssm_prepend_search_path(VALUE self, VALUE path)
111
106
  {
112
107
  gtk_source_style_scheme_manager_prepend_search_path (_SELF (self), RVAL2CSTR(path));
113
108
  return self;
@@ -118,8 +113,7 @@ sssm_prepend_search_path (self, path)
118
113
  * style scheme manager.
119
114
  */
120
115
  static VALUE
121
- sssm_get_search_path (self)
122
- VALUE self;
116
+ sssm_get_search_path(VALUE self)
123
117
  {
124
118
  VALUE ary;
125
119
  const gchar * const * dirs =
@@ -139,8 +133,7 @@ sssm_get_search_path (self)
139
133
  * Returns: a list of style scheme ids for the given style scheme manager
140
134
  */
141
135
  static VALUE
142
- sssm_get_scheme_ids (self)
143
- VALUE self;
136
+ sssm_get_scheme_ids(VALUE self)
144
137
  {
145
138
  VALUE ary;
146
139
  const gchar * const * ids =
@@ -167,8 +160,7 @@ sssm_get_scheme_ids (self)
167
160
  * associated with the given id.
168
161
  */
169
162
  static VALUE
170
- sssm_get_scheme (self, scheme_id)
171
- VALUE self, scheme_id;
163
+ sssm_get_scheme(VALUE self, VALUE scheme_id)
172
164
  {
173
165
  return
174
166
  GOBJ2RVAL (gtk_source_style_scheme_manager_get_scheme
@@ -184,8 +176,7 @@ sssm_get_scheme (self, scheme_id)
184
176
  * Returns: self.
185
177
  */
186
178
  static VALUE
187
- sssm_force_rescan (self)
188
- VALUE self;
179
+ sssm_force_rescan(VALUE self)
189
180
  {
190
181
  gtk_source_style_scheme_manager_force_rescan(_SELF (self));
191
182
  return self;
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview2
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/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.