SOURCES: ruby-gnome2-libglade2-gc.patch (NEW) - Added

aredridel aredridel at pld-linux.org
Sun Dec 31 20:03:42 CET 2006


Author: aredridel                    Date: Sun Dec 31 19:03:42 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- Added

---- Files affected:
SOURCES:
   ruby-gnome2-libglade2-gc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ruby-gnome2-libglade2-gc.patch
diff -u /dev/null SOURCES/ruby-gnome2-libglade2-gc.patch:1.1
--- /dev/null	Sun Dec 31 20:03:42 2006
+++ SOURCES/ruby-gnome2-libglade2-gc.patch	Sun Dec 31 20:03:36 2006
@@ -0,0 +1,19 @@
+--- libglade2.rb	2006/11/08 00:57:16	1.17
++++ libglade2.rb	2006/12/31 03:39:27	1.18
+@@ -5,7 +5,7 @@
+   Copyright (c) 2002-2004 Ruby-GNOME2 Project Team
+   This program is licenced under the same licence as Ruby-GNOME2.
+                                                                                 
+-  $Id$
++  $Id$
+ =end
+ 
+ require 'gtk2'
+@@ -100,6 +100,7 @@
+   end
+ 
+   def guard_source_from_gc(source)
++    return if source.nil?
+     @sources ||= {}
+     @sources[source.object_id] = source
+     source.signal_connect("destroy") do |object|
================================================================


More information about the pld-cvs-commit mailing list