[Xfce4-commits] <tumbler:master> Fixed a glitch, checking for the wrong function pointer

Jannis Pohlmann noreply at xfce.org
Thu Oct 8 13:32:02 CEST 2009


Updating branch refs/heads/master
         to 63178254dcb82326cbd443e87394deb1c726f3aa (commit)
       from 6a865c769244360ea6533d0854a08456cb1e45a6 (commit)

commit 63178254dcb82326cbd443e87394deb1c726f3aa
Author: Philip Van Hoof <philip at codeminded.be>
Date:   Wed Oct 7 15:08:24 2009 +0200

    Fixed a glitch, checking for the wrong function pointer
    
    Signed-off-by: Jannis Pohlmann <jannis at xfce.org>

 tumbler/tumbler-thumbnail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tumbler/tumbler-thumbnail.c b/tumbler/tumbler-thumbnail.c
index 44244e1..45bab9f 100644
--- a/tumbler/tumbler-thumbnail.c
+++ b/tumbler/tumbler-thumbnail.c
@@ -148,7 +148,7 @@ tumbler_thumbnail_save_file (TumblerThumbnail *thumbnail,
   g_return_val_if_fail (G_IS_FILE (file), FALSE);
   g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
   g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
-  g_return_val_if_fail (TUMBLER_THUMBNAIL_GET_IFACE (thumbnail)->save_pixbuf != NULL, FALSE);
+  g_return_val_if_fail (TUMBLER_THUMBNAIL_GET_IFACE (thumbnail)->save_file != NULL, FALSE);
 
   return (TUMBLER_THUMBNAIL_GET_IFACE (thumbnail)->save_file) (thumbnail, file, mtime,
                                                                cancellable, error);



More information about the Xfce4-commits mailing list