summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-31 15:49:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-31 15:49:06 +0000
commit22f21bc9e0d0172b383fb70ccdb4457652c0cffd (patch)
tree86c5b672214c58ea88090c38d39d6354f0babf1f
parent3f1018b8d782e5d71e92a4f58ffe182d5f770f7f (diff)
downloaddrakx-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.pm2
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;
}