These void functions were trying to return a value. It was causing the
authorAlvaro Lopez Ortega <alvaro@sun.com>
Wed, 2 Jan 2008 16:22:25 +0000 (16:22 +0000)
committerAlvaro Lopez Ortega <alo@src.gnome.org>
Wed, 2 Jan 2008 16:22:25 +0000 (16:22 +0000)
2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>

        * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
        These void functions were trying to return a value. It was causing
        the compilation to fail.

svn path=/trunk/; revision=6232

ChangeLog
gio/gunixmount.c

index 8f161ba..52ad263 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
 
+       * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
+       These void functions were trying to return a value. It was causing
+       the compilation to fail.
+
+2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
+
        * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
        functions prototype defines its output as void, and therefore they
        should not return any value. This patch fixes a compilation error:
index ca451fc..11b6254 100644 (file)
@@ -353,7 +353,7 @@ g_unix_mount_unmount (GMount             *mount,
   else
     argv[1] = unix_mount->device_path;
 
-  return eject_unmount_do (mount, cancellable, callback, user_data, argv);
+  eject_unmount_do (mount, cancellable, callback, user_data, argv);
 }
 
 static gboolean
@@ -379,7 +379,7 @@ g_unix_mount_eject (GMount             *mount,
   else
     argv[1] = unix_mount->device_path;
 
-  return eject_unmount_do (mount, cancellable, callback, user_data, argv);
+  eject_unmount_do (mount, cancellable, callback, user_data, argv);
 }
 
 static gboolean