nautilus-cd-burner r2127 - in trunk: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus-cd-burner r2127 - in trunk: . src
- Date: Mon, 21 Jan 2008 15:04:13 +0000 (GMT)
Author: mccann
Date: Mon Jan 21 15:04:13 2008
New Revision: 2127
URL: http://svn.gnome.org/viewvc/nautilus-cd-burner?rev=2127&view=rev
Log:
2008-01-21 William Jon McCann <mccann jhu edu>
* src/burn-extension.c: (dir_is_empty):
* src/ncb-operation.c: (burn_folder_is_dvd_video):
Remove check for "." and ".." since it is no longer needed
with gio.
Modified:
trunk/ChangeLog
trunk/src/burn-extension.c
trunk/src/ncb-operation.c
Modified: trunk/src/burn-extension.c
==============================================================================
--- trunk/src/burn-extension.c (original)
+++ trunk/src/burn-extension.c Mon Jan 21 15:04:13 2008
@@ -594,25 +594,13 @@
found_file = FALSE;
while (TRUE) {
- GFileInfo *info;
- const char *name;
+ GFileInfo *info;
info = g_file_enumerator_next_file (enumerator, NULL, NULL);
if (info == NULL) {
break;
}
- name = g_file_info_get_name (info);
-
- /* Skip "." and "..". */
- if (name != NULL
- && name [0] == '.'
- && (name [1] == 0
- || (name [1] == '.' && name [2] == 0))) {
- g_object_unref (info);
- continue;
- }
-
g_object_unref (info);
found_file = TRUE;
Modified: trunk/src/ncb-operation.c
==============================================================================
--- trunk/src/ncb-operation.c (original)
+++ trunk/src/ncb-operation.c Mon Jan 21 15:04:13 2008
@@ -1315,15 +1315,6 @@
name = g_file_info_get_name (info);
- /* Skip "." and "..". */
- if (name != NULL
- && name [0] == '.'
- && (name [1] == 0
- || (name [1] == '.' && name [2] == 0))) {
- g_object_unref (info);
- continue;
- }
-
g_object_unref (info);
filename = g_utf8_strup (name, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]