Home | History | Annotate | Download | only in patches
      1  8835  mattk --- control-center-2.15.90/capplets/about-me/gnome-about-me.c.orig	2006-07-28 15:54:16.157880000 +0100
      2  8835  mattk +++ control-center-2.15.90/capplets/about-me/gnome-about-me.c	2006-07-28 16:04:54.172476000 +0100
      3  8835  mattk @@ -435,7 +435,7 @@
      4  8835  mattk  	gchar         *file;
      5  8835  mattk  	FILE	      *fp;
      6  8835  mattk  
      7  8835  mattk -	gchar 	      *data;
      8  8835  mattk +	guchar 	      *data;
      9  8835  mattk  	gsize 	       length;
     10  8835  mattk  
     11  8835  mattk  	dialog = me->dialog;
     12  8835  mattk @@ -449,12 +449,12 @@
     13  8835  mattk  		float scale;
     14  8835  mattk  		
     15  8835  mattk  		widget = WID ("image-chooser");
     16  8835  mattk -		e_image_chooser_get_image_data (E_IMAGE_CHOOSER (widget), &data, &length);
     17  8835  mattk +		e_image_chooser_get_image_data (E_IMAGE_CHOOSER (widget), (char **)&data, &length);
     18  8835  mattk  
     19  8835  mattk  		/* Before updating the image in EDS scale it to a reasonable size
     20  8835  mattk  		   so that the user doesn't get an application that does not respond
     21  8835  mattk  		   or that takes 100% CPU */
     22  8835  mattk -		gdk_pixbuf_loader_write (loader, (guchar *)data, length, NULL);
     23  8835  mattk +		gdk_pixbuf_loader_write (loader, data, length, NULL);
     24  8835  mattk  		
     25  8835  mattk  		pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
     26  8835  mattk  		
     27