summaryrefslogtreecommitdiffstats
path: root/draksnapshot-applet
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-28 15:59:51 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-28 15:59:51 +0000
commit0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd (patch)
treec675e4eda6784d8646976d36cbdb9d3191ef7526 /draksnapshot-applet
parentd570a338e80b2f2d2fa8b4e1b96021390d0be4af (diff)
downloaddraksnapshot-0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd.tar
draksnapshot-0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd.tar.gz
draksnapshot-0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd.tar.bz2
draksnapshot-0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd.tar.xz
draksnapshot-0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd.zip
fix a warning in Net::DBus::Binding
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@241094 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-xdraksnapshot-applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 54eaa19..a4c08bd 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -83,7 +83,7 @@ my $con = $dbus->{connection};
my $old_time;
$con->add_filter(sub {
my ($_bus, $msg) = @_;
- return if $msg->get_member ne 'DeviceAdded';
+ return 0 if $msg->get_member ne 'DeviceAdded';
my $hal = $dbus->get_service($hal_dn);
my $bool;
eval {