diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-07-02 18:56:27 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-07-02 20:24:29 +0100 |
commit | c93dbf7a37bc2862dec23245db8cf915ad670a94 (patch) | |
tree | 2934c4f792d977e747b3123c228fba7155890841 /src/totem-uri.c | |
parent | 5f18bec3684a186406ee20eacd6a01ece54011be (diff) | |
download | totem-c93dbf7a37bc2862dec23245db8cf915ad670a94.tar.gz |
main: Fix totem_get_mount_for_dvd() not working
We were checking the retval of g_mount_can_eject() the wrong way
around, so we never got a mount for the DVD device in question.
Diffstat (limited to 'src/totem-uri.c')
-rw-r--r-- | src/totem-uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/totem-uri.c b/src/totem-uri.c index 6166da2d1..4b1b5078e 100644 --- a/src/totem-uri.c +++ b/src/totem-uri.c @@ -130,7 +130,7 @@ totem_get_mount_for_uri (const char *path) return NULL; /* FIXME: We used to explicitly check whether it was a CD/DVD */ - if (g_mount_can_eject (mount) == TRUE) { + if (g_mount_can_eject (mount) == FALSE) { g_object_unref (mount); return NULL; } |