Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv14149/src
Modified Files:
Tag: fetchcover_development_branch
fetchcover.c
Log Message:
Couple of more NULL arguments to avoid segfaults.
Index: fetchcover.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/Attic/fetchcover.c,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- fetchcover.c 1 Apr 2007 19:47:10 -0000 1.1.2.4
+++ fetchcover.c 5 Apr 2007 13:49:47 -0000 1.1.2.5
@@ -442,7 +442,7 @@
fetchcover_debug("Displayed Image path: %s/%s\n", displayed_cover->dir,
displayed_cover->filename);
GdkPixbuf *scaled = gdk_pixbuf_scale_simple(displayed_cover->image,
IMGSCALE, IMGSCALE, GDK_INTERP_NEAREST);
- gnome_canvas_item_set(fetchcover_canvasitem, "pixbuf", scaled);
+ gnome_canvas_item_set(fetchcover_canvasitem, "pixbuf", scaled, NULL);
gdk_window_set_cursor (window, gdk_cursor_new (GDK_LEFT_PTR));
@@ -488,7 +488,7 @@
}
GdkPixbuf *scaled = gdk_pixbuf_scale_simple(displayed_cover->image,
IMGSCALE, IMGSCALE, GDK_INTERP_NEAREST);
- gnome_canvas_item_set(fetchcover_canvasitem, "pixbuf", scaled);
+ gnome_canvas_item_set(fetchcover_canvasitem, "pixbuf", scaled, NULL);
return;
}
@@ -784,7 +784,8 @@
/* Apply the image cover to the canvas */
gnome_canvas_item_set ( fetchcover_canvasitem,
-
"pixbuf", displayed_cover->image);
+
"pixbuf", displayed_cover->image,
+ NULL);
/* Create buttons */
next_button = gtk_button_new_with_mnemonic ("_Find New");
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2