[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebindings/korundum/rubylib/korundum/lib/KDE
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2007-03-13 18:57:21
Message-ID: 1173812241.896257.32065.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 642250 by rdale:

* Added fix from volty for warnings from ruby 1.8.5 with ruby_w about
  @functions not being defined - thanks volty.



 M  +1 -1      korundum.rb  


--- branches/KDE/3.5/kdebindings/korundum/rubylib/korundum/lib/KDE/korundum.rb #642249:642250
@@ -211,7 +211,7 @@
 				
 				# Get the functions() for this dcop ref and 
 				# cache method_name => full_type_signature in a hash
-				if @functions.nil?
+				if !defined(@functions) || @functions.nil?
 					@functions = {}
 					funcs = call("functions()")
 					if funcs.nil?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic