xfburn and mime_icon

Mike Massonnet mmassonnet at gmail.com
Mon Jul 10 10:37:04 CEST 2006


Hi,

I get an error on compiling xfburn:
xfburn-disc-content.c: In function ‘add_file_to_list_with_name’:
xfburn-disc-content.c:694: error: ‘mime_icon’ undeclared (first use in
this function)

This variable is initialized inside the precompiler, I put it over just
to make it work.  Here is the patch:
Index: xfburn/xfburn-disc-content.c
===================================================================
--- xfburn/xfburn-disc-content.c        (revision 22343)
+++ xfburn/xfburn-disc-content.c        (working copy)
@@ -667,13 +667,13 @@
     }
     /* new file */
     else if ((s.st_mode & S_IFREG)) {
+         GdkPixbuf *mime_icon = NULL;
 #ifdef HAVE_THUNAR_VFS
          GdkScreen *screen;
          GtkIconTheme *icon_theme;
          ThunarVfsMimeDatabase *mime_database = NULL;
          ThunarVfsMimeInfo *mime_info = NULL;
          const gchar *mime_icon_name = NULL;
-         GdkPixbuf *mime_icon = NULL;
          gint x,y;

          screen = gtk_widget_get_screen (GTK_WIDGET (dc));


Cheers,
Mike
-- 
 http://massonnet.org/ Mike Massonnet (mmassonnet)           ,-.
                                                     ,      ( {o\
 GnuPG 0--" 0xF8C80F97                               {`"=,___) (`~
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97   \  ,_.-   )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060710/a6808991/attachment.pgp>


More information about the Xfce4-dev mailing list