[Xfce4-commits] r29980 - xfdesktop/trunk/src

Brian Tarricone kelnos at xfce.org
Sat May 23 10:27:36 CEST 2009


Author: kelnos
Date: 2009-05-23 08:27:35 +0000 (Sat, 23 May 2009)
New Revision: 29980

Modified:
   xfdesktop/trunk/src/xfdesktop-regular-file-icon.c
Log:
fix warning

Modified: xfdesktop/trunk/src/xfdesktop-regular-file-icon.c
===================================================================
--- xfdesktop/trunk/src/xfdesktop-regular-file-icon.c	2009-05-23 03:49:31 UTC (rev 29979)
+++ xfdesktop/trunk/src/xfdesktop-regular-file-icon.c	2009-05-23 08:27:35 UTC (rev 29980)
@@ -80,7 +80,6 @@
 static void xfdesktop_regular_file_icon_update_info(XfdesktopFileIcon *icon,
                                                     ThunarVfsInfo *info);
 static gboolean xfdesktop_regular_file_can_write_parent(XfdesktopFileIcon *icon);
-static gboolean xfdesktop_regular_file_can_write_file(XfdesktopFileIcon *icon);
 static gboolean xfdesktop_regular_file_icon_rename_file(XfdesktopFileIcon *icon,
                                                         const gchar *new_name);
 static gboolean xfdesktop_regular_file_icon_delete_file(XfdesktopFileIcon *icon);
@@ -522,16 +521,6 @@
 
 }
 
-static gboolean
-xfdesktop_regular_file_can_write_file(XfdesktopFileIcon *icon)
-{
-    XfdesktopRegularFileIcon *file_icon = XFDESKTOP_REGULAR_FILE_ICON(icon);
-    
-    g_return_val_if_fail(file_icon && file_icon->priv->info, FALSE);
-    
-    return (file_icon->priv->info->flags & THUNAR_VFS_FILE_FLAGS_WRITABLE);
-}
-
 static void
 xfdesktop_delete_file_error(ThunarVfsJob *job,
                             GError *error,




More information about the Xfce4-commits mailing list