[Thunar-dev] Thunar r20882 doesn't compile in plugins/thunar-apr/thunar-apr-desktop-page.c
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Fri Apr 14 18:01:54 CEST 2006
Landry wrote:
> 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;
That's not going to work. ;-) There was a typo in the fopen() call.
Fixed now.
> New Compact View is a Great thing !
> Landry
Benedikt
More information about the Thunar-dev
mailing list