diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-08-31 15:49:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-08-31 15:49:06 +0000 |
commit | 22f21bc9e0d0172b383fb70ccdb4457652c0cffd (patch) | |
tree | 86c5b672214c58ea88090c38d39d6354f0babf1f | |
parent | 3f1018b8d782e5d71e92a4f58ffe182d5f770f7f (diff) | |
download | drakx-backup-do-not-use-22f21bc9e0d0172b383fb70ccdb4457652c0cffd.tar drakx-backup-do-not-use-22f21bc9e0d0172b383fb70ccdb4457652c0cffd.tar.gz drakx-backup-do-not-use-22f21bc9e0d0172b383fb70ccdb4457652c0cffd.tar.bz2 drakx-backup-do-not-use-22f21bc9e0d0172b383fb70ccdb4457652c0cffd.tar.xz drakx-backup-do-not-use-22f21bc9e0d0172b383fb70ccdb4457652c0cffd.zip |
allow file_ref to be false at Image creation
-rw-r--r-- | perl-install/mygtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index f799f57e0..d8120240d 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -291,7 +291,7 @@ sub _gtk__Image { $w->set_from_file($file); }; gtkval_register($w, $file_ref, $set); - $set->(); + $set->() if $$file_ref; } $w; } |