|
|
Sponsor |
[gtpd-cvs] gtkpod/src fetchcover.c,1.1.2.6,1.1.2.7: msg#00038ipod.gtkpod.cvs
Update of /cvsroot/gtkpod/gtkpod/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7421/src Modified Files: Tag: fetchcover_development_branch fetchcover.c Log Message: * src/fetchcover.c: add NULL pointer at the end of some variable argument calls to avoid segfaults. Index: fetchcover.c =================================================================== RCS file: /cvsroot/gtkpod/gtkpod/src/Attic/fetchcover.c,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- fetchcover.c 14 Apr 2007 20:02:45 -0000 1.1.2.6 +++ fetchcover.c 15 Apr 2007 11:44:51 -0000 1.1.2.7 @@ -443,7 +443,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)); @@ -489,7 +489,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; } @@ -767,7 +767,8 @@ /* Apply the image cover to the canvas */ gnome_canvas_item_set ( fetchcover_canvasitem, - "pixbuf", displayed_cover->image); + "pixbuf", displayed_cover->image, + NULL); /* Create the canvas border */ art_border = gnome_canvas_item_new( ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [gtpd-cvs] gtkpod/src prefs.c,1.282,1.283 prefs.h,1.196,1.197, jcsjcs |
|---|---|
| Next by Date: | [gtpd-cvs] gtkpod ChangeLog_detailed,1.393.2.2,1.393.2.3, jcsjcs |
| Previous by Thread: | [gtpd-cvs] gtkpod/src prefs.c,1.282,1.283 prefs.h,1.196,1.197, jcsjcs |
| Next by Thread: | [gtpd-cvs] gtkpod ChangeLog_detailed,1.393.2.2,1.393.2.3, jcsjcs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|