glib2 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ extern "C" {
35
35
 
36
36
  #define RBGLIB_MAJOR_VERSION 1
37
37
  #define RBGLIB_MINOR_VERSION 2
38
- #define RBGLIB_MICRO_VERSION 3
38
+ #define RBGLIB_MICRO_VERSION 4
39
39
 
40
40
  #ifndef RSTRING_PTR
41
41
  # define RSTRING_PTR(s) (RSTRING(s)->ptr)
@@ -137,7 +137,7 @@ rbgobj_boxed_initialize(VALUE obj, gpointer boxed)
137
137
  {
138
138
  boxed_holder *holder;
139
139
  Data_Get_Struct(obj, boxed_holder, holder);
140
- holder->boxed = g_boxed_copy(holder->type, boxed);
140
+ holder->boxed = boxed;
141
141
  holder->own = TRUE;
142
142
  }
143
143
 
@@ -75,7 +75,7 @@ end
75
75
  def setup_win32(target_name, base_dir=nil)
76
76
  checking_for(checking_message("Win32 OS")) do
77
77
  case RUBY_PLATFORM
78
- when /cygwin|mingw|mswin32/
78
+ when /cygwin|mingw|mswin/
79
79
  import_library_name = "libruby-#{target_name}.a"
80
80
  $DLDFLAGS << " -Wl,--out-implib=#{import_library_name}"
81
81
  $cleanfiles << import_library_name
@@ -154,12 +154,12 @@ def add_depend_package_path(target_name, target_source_dir, target_build_dir)
154
154
  end
155
155
 
156
156
  case RUBY_PLATFORM
157
- when /cygwin|mingw|mswin32/
157
+ when /cygwin|mingw|mswin/
158
158
  case RUBY_PLATFORM
159
159
  when /cygwin|mingw/
160
160
  $LDFLAGS << " -L#{target_build_dir}"
161
161
  $libs << " -lruby-#{target_name}"
162
- when /mswin32/
162
+ when /mswin/
163
163
  $DLDFLAGS << " /libpath:#{target_build_dir}"
164
164
  $libs << " libruby-#{target_name}.lib"
165
165
  end
@@ -257,7 +257,7 @@ def create_makefile_at_srcdir(pkg_name, srcdir, defs = nil)
257
257
  end
258
258
 
259
259
  def run_make_in_sub_dirs_command(command, sub_dirs)
260
- if /mswin32/ =~ RUBY_PLATFORM
260
+ if /mswin/ =~ RUBY_PLATFORM
261
261
  sub_dirs.collect do |dir|
262
262
  <<-EOM.chmop
263
263
  @cd #{dir}
@@ -288,7 +288,7 @@ clean:
288
288
  #{run_make_in_sub_dirs_command("clean", sub_dirs)}
289
289
  EOM
290
290
 
291
- if /mswin32/ =~ RUBY_PLATFORM
291
+ if /mswin/ =~ RUBY_PLATFORM
292
292
  makefile.print(<<-EOM)
293
293
  @if exist extconf.h del extconf.h
294
294
  @if exist conftest.* del conftest.*
@@ -414,7 +414,7 @@ def check_cairo(options={})
414
414
  end
415
415
 
416
416
  unless rcairo_source_dir.nil?
417
- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
417
+ if /mingw|cygwin|mswin/ =~ RUBY_PLATFORM
418
418
  options = {}
419
419
  build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
420
420
  if File.exist?(File.join(rcairo_source_dir, build_dir))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-17 00:00:00.000000000 Z
12
+ date: 2013-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pkg-config