[gtkmm] Widget: Removed render_icon(), adding render_icon_pixbuf().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Widget: Removed render_icon(), adding render_icon_pixbuf().
- Date: Fri, 10 Dec 2010 07:59:54 +0000 (UTC)
commit d3f03a2bbed73524a6329bbfdbb8ffaa49a82248
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 9 11:49:59 2010 +0100
Widget: Removed render_icon(), adding render_icon_pixbuf().
* gtk/src/widget.hg: gtk_widget_render_icon() was deprecated and
gtk_widget_render_icon_pixbuf() was added, with slightly different parameters.
ChangeLog | 7 +++++++
gtk/src/widget.hg | 3 ++-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index de6a8bf..18ebc52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-09 Murray Cumming <murrayc murrayc com>
+
+ Widget: Removed render_icon(), adding render_icon_pixbuf().
+
+ * gtk/src/widget.hg: gtk_widget_render_icon() was deprecated and
+ gtk_widget_render_icon_pixbuf() was added, with slightly different parameters.
+
2.91.6:
2010-12-08 Murray Cumming <murrayc murrayc com>
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index bad1875..c6a53a6 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -376,7 +376,8 @@ public:
_WRAP_METHOD(Glib::RefPtr<Pango::Context> get_pango_context(), gtk_widget_get_pango_context, refreturn)
_WRAP_METHOD(Glib::RefPtr<Pango::Layout> create_pango_layout(const Glib::ustring& text), gtk_widget_create_pango_layout)
- _WRAP_METHOD(Glib::RefPtr<Gdk::Pixbuf> render_icon(const StockID& stock_id, IconSize size, const Glib::ustring& detail = Glib::ustring()), gtk_widget_render_icon)
+ _IGNORE(gtk_widget_render_icon) //deprecated.
+ _WRAP_METHOD(Glib::RefPtr<Gdk::Pixbuf> render_icon_pixbuf(const StockID& stock_id, IconSize size), gtk_widget_render_icon_pixbuf)
_WRAP_METHOD(void set_composite_name(const Glib::ustring& name), gtk_widget_set_composite_name)
void unset_composite_name();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]