[PATCH 1/7] Use RbConfig instead of deprecated Config

Nikolai Weibull <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
---
 lib/cairo.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/cairo.rb b/lib/cairo.rb
index 6c6d5c2..3f7f687 100644
--- a/lib/cairo.rb
+++ b/lib/cairo.rb
@@ -12,7 +12,7 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
   else
     require 'rbconfig'
     ENV['PATH'] = %w(bin lib).collect do |dir|
-      "#{Config::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
+      "#{RbConfig::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
     end.join('') + ENV['PATH']
   end
 end
-- 
1.7.5.1

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.