[gtkmm] gdkmm: Pixbuf: Fixed the build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gdkmm: Pixbuf: Fixed the build.
- Date: Sun, 3 Oct 2010 12:31:31 +0000 (UTC)
commit 5f4bd33fadda52ca904425e41d130e76a787cf3a
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Oct 3 14:30:52 2010 +0200
gdkmm: Pixbuf: Fixed the build.
* gdk/src/pixbuf.ccg: gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() now take less parameters, which we ignored
before anyway.
ChangeLog | 12 +++++++++---
gdk/src/pixbuf.ccg | 4 ++--
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bc8227e..a57887f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
-2010-09-30 Murray Cumming <murrayc murrayc com>
+2010-10-03 Murray Cumming <murrayc murrayc com>
+
+ gdkmm: Pixbuf: Fixed the build.
+
+ * gdk/src/pixbuf.ccg: gdk_pixbuf_get_from_window() and
+ gdk_pixbuf_get_from_surface() now take less parameters, which we ignored
+ before anyway.
+
+2010-10-03 Murray Cumming <murrayc murrayc com>
Adjustment: Fix the reference counting.
@@ -137,8 +145,6 @@
* Other files: Adapted. For instance, FileFilter and Adjustment must now
be used via RefPtr.
-2.22.0:
-
2010-09-26 Armin Burgmeier <armin arbur net>
* MSVC_Net2005/demos/gtk-demo/gtk-demo.vcproj:
diff --git a/gdk/src/pixbuf.ccg b/gdk/src/pixbuf.ccg
index 8779254..4686d75 100644
--- a/gdk/src/pixbuf.ccg
+++ b/gdk/src/pixbuf.ccg
@@ -54,14 +54,14 @@ Pixbuf::Pixbuf(const Glib::RefPtr<Window>& src,
int width, int height)
:
Object((GObject*) gdk_pixbuf_get_from_window(
- 0, src->gobj(), src_x, src_y, 0, 0, width, height))
+ src->gobj(), src_x, src_y, width, height))
{}
Pixbuf::Pixbuf(const Cairo::RefPtr<Cairo::Surface>& src,
int src_x, int src_y, int width, int height)
:
Object((GObject*) gdk_pixbuf_get_from_surface(
- 0, src->cobj(), src_x, src_y, 0, 0, width, height))
+ src->cobj(), src_x, src_y, width, height))
{}
Glib::RefPtr<Pixbuf> Pixbuf::create_from_data(const guint8* data, Colorspace colorspace,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]