Re: Error compiling nautilus in 0.30.0



Hi Phong,

Phong <gnome-friend netcologne de> writes:

> fm-directory-view.c: In function `real_update_paste_menu':
> fm-directory-view.c:5147: parse error before `can_paste_files_into'
> fm-directory-view.c:5151: `selection_is_read_only' undeclared (first
> use in this function)
> fm-directory-view.c:5151: (Each undeclared identifier is reported only once
> fm-directory-view.c:5151: for each function it appears in.)
> fm-directory-view.c:5154: `is_read_only' undeclared (first use in this
> function)fm-directory-view.c:5156: `can_paste_files_into' undeclared
> (first use in this function)

You may want to try the following patch (inside Nautilus build
directory), which should get you at least farther than you already
got:

--- src/file-manager/fm-directory-view.c.~1.610.~       Thu Feb 12 03:54:56 2004
+++ src/file-manager/fm-directory-view.c        Sun Feb 15 17:54:35 2004
@@ -5142,10 +5142,10 @@
                        GList *selection,
                        gint selection_count)
 {
-       selection_count = g_list_length (selection);
        gboolean can_paste_files_into;
        gboolean selection_is_read_only;
        gboolean is_read_only;
+       selection_count = g_list_length (selection);
 
        selection_is_read_only = selection_count == 1
                && !nautilus_file_can_write (NAUTILUS_FILE (selection->data));


Cheers,
Danilo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]