# Fw: \[ruby-gnome2-cvs\] CVS: ruby-gnome2/gdkpixbuf rbgdk-pixbu

**URL:** <https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131>\
**Category:** Ruby-Gnome 2\
**Created:** [July 11, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131 "2007-07-11T19:06:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masao\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Post date:** [July 11, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131/1 "2007-07-11T19:06:06Z")

</div>

Hi Guillaume,

I reverted this change.

Please ask us before changing APIs.

This is Gdk::Pixbuf#scale!. So dest and src should be changed from C  
GTK.

Begin forwarded message:

Date: Sat, 07 Jul 2007 07:46:11 -0700  
From: Guillaume C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Subject: [ruby-gnome2-cvs] CVS: ruby-gnome2/gdkpixbuf rbgdk-pixbuf.c,  
1.43, 1.44

Update of /cvsroot/ruby-gnome2/ruby-gnome2/gdkpixbuf  
In directory [sc8-pr-cvs9.sourceforge.net](http://sc8-pr-cvs9.sourceforge.net):/tmp/cvs-serv32561

Modified Files:  
rbgdk-pixbuf.c  
Log Message:  
fix wrong order of arguments in using gdk\_pixbuf\_scale

# Index: rbgdk-pixbuf.c

RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/gdkpixbuf/rbgdk-pixbuf.c,v  
retrieving revision 1.43  
retrieving revision 1.44  
diff -u -d -r1.43 -r1.44  
— rbgdk-pixbuf.c 7 Jul 2007 14:43:52 -0000 1.43  
+++ rbgdk-pixbuf.c 7 Jul 2007 14:46:09 -0000 1.44  
@@ -431,7 +431,7 @@  
if (!NIL\_P(interp\_type))  
type = RVAL2GENUM(interp\_type, GDK\_TYPE\_INTERP\_TYPE);

- gdk\_pixbuf\_scale(\_SELF(dest), \_SELF(self),

- gdk\_pixbuf\_scale(\_SELF(self), \_SELF(dest),  
NUM2INT(dest\_x), NUM2INT(dest\_y),  
NUM2INT(dest\_width), NUM2INT(dest\_height),  
NUM2DBL(offset\_x), NUM2DBL(offset\_y),

* * *

This [SF.net](http://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/](http://sourceforge.net/powerbar/db2/)

* * *

ruby-gnome2-cvs mailing list  
removed\_email\_address@domain.invalid

> **[ruby-gnome2-cvs List Signup and Options](https://sourceforge.net/projects/ruby-gnome2/lists/ruby-gnome2-cvs)**
>
> This project is a set of Ruby language bindings for the various application development libraries included with the GNOME/GTK+ environment.
> This…

–  
.:% Masao M.[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

* * *

This [SF.net](http://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/](http://sourceforge.net/powerbar/db2/)

---

<div class="post-metadata">

**Author:** ![Masao\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Post date:** [July 11, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131/2 "2007-07-11T22:33:30Z")

</div>

Hi Masao,

> I reverted this change.
> 
> Please ask us before changing APIs.

My intention was absolutely not to change th API. I would have asked  
on this list, as I usually do. I was reviewing the code of the file,  
and fixed a couple of things. I wrongly assumed you mixed the  
arguments over in this call. I didn’t look deep enough, and I made  
this mistake. Sorry!

–  
Guillaume C. - [Guillaume Cottenceau](http://zarb.org/~gc/)

* * *

This [SF.net](http://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/](http://sourceforge.net/powerbar/db2/)
