[Thunar-dev] Thunar r20882 doesn't compile in plugins/thunar-apr/thunar-apr-desktop-page.c

Landry landry at fr.homeunix.org
Fri Apr 14 17:48:40 CEST 2006

On my system, with a fresh checkout, Thunar doesn't compile with the 
following error :

thunar-apr-desktop-page.c: In function 'thunar_apr_desktop_page_save':
thunar-apr-desktop-page.c:533: error: 'src_path' undeclared (first use 
in this function)
thunar-apr-desktop-page.c:533: error: (Each undeclared identifier is 
reported only once
thunar-apr-desktop-page.c:533: error: for each function it appears in.)
make[3]: *** [thunar_apr_la-thunar-apr-desktop-page.lo] Error 1

I corrected this, here is my diff :

bash-3.00$ svn diff
Index: plugins/thunar-apr/thunar-apr-desktop-page.c
--- plugins/thunar-apr/thunar-apr-desktop-page.c        (revision 20882)
+++ plugins/thunar-apr/thunar-apr-desktop-page.c        (working copy)
@@ -493,6 +493,7 @@
   GKeyFile  *key_file;
   GError    *error = NULL;
   gchar     *filename;
+  gchar     *src_path = NULL;
   gchar     *data;
   gchar     *uri;
   gsize      data_length;

(Sorry, i MUST learn to write a real patch file)

New Compact View is a Great thing !

More information about the Thunar-dev mailing list