From: dooglus Date: Tue, 18 Nov 2008 23:27:31 +0000 (+0000) Subject: Not sure if this code is ever used, but if it is it would cause an infinite recursion. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a3497cc298f84064e55264320443be79547a02c1;p=synfig.git Not sure if this code is ever used, but if it is it would cause an infinite recursion. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2213 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/canvas.cpp b/synfig-core/trunk/src/synfig/canvas.cpp index 1bc1a18..5b27e59 100644 --- a/synfig-core/trunk/src/synfig/canvas.cpp +++ b/synfig-core/trunk/src/synfig/canvas.cpp @@ -965,7 +965,7 @@ sigc::signal& Canvas::signal_file_name_changed() { if(parent()) - return signal_file_name_changed(); + return parent()->signal_file_name_changed(); else return signal_file_name_changed_; }