After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157894 - Gdk::Pixbuf::create_from_file() has no size arguments
Gdk::Pixbuf::create_from_file() has no size arguments
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.5
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-11-10 21:28 UTC by Rob Benton
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Benton 2004-11-10 21:28:05 UTC
In the Gtk the function:

GdkPixbuf * gdk_pixbuf_new_from_file_at_size()

takes arguments for height and width size for scaling.  The scaling and size
methods and arguments do not currently exist in gtkmm 2.4
Comment 1 Murray Cumming 2004-11-11 09:51:44 UTC
Moving to 2.5, because that's where we can add API.

Note that gdk_pixbuf_new_from_file_at_size() was new in GTK+ 2.4, but we didn't
wrap it yet. At the moment, we just use gdk_pixbuf_new_from_file(). A patch
would be welcome.
Comment 2 Murray Cumming 2004-11-11 09:53:36 UTC
Note also that this should be a new overload of Pixbuf::create_from_file(),
instead of just adding new method parameters with default values, because we can
not change the existing method signature, because that would break ABI.
Comment 3 Murray Cumming 2004-12-19 19:16:43 UTC
This is done in the HEAD branch.