[gtkmm] Gtk::NumerableIcon: Really add get_background_gicon() const.



commit d694556ac432a233d7eef9698c09c01ef465fc3e
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Apr 4 10:56:50 2011 +0200

    Gtk::NumerableIcon: Really add get_background_gicon() const.
    
    * gtk/src/numerableicon.hg: Fix a typo so that
    gtk_numerable_icon_get_background_gicon() is really wrapped.

 ChangeLog                |    7 +++++++
 gtk/src/numerableicon.hg |   16 ++++++++--------
 gtk/src/stylecontext.hg  |    2 +-
 3 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 07b4039..7a60b8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-04-04  Murray Cumming  <murrayc murrayc com>
 
+	Gtk::NumerableIcon: Really add get_background_gicon() const.
+
+	* gtk/src/numerableicon.hg: Fix a typo so that
+	gtk_numerable_icon_get_background_gicon() is really wrapped.
+
+2011-04-04  Murray Cumming  <murrayc murrayc com>
+
 	Gdk::Screen: Avoid an unnecessary gmmproc warning.
 
 	* gdk/src/screen.hg: Remove a mention of gdk_screen_broadcast_client_message()
diff --git a/gtk/src/numerableicon.hg b/gtk/src/numerableicon.hg
index c93a081..8f9e752 100644
--- a/gtk/src/numerableicon.hg
+++ b/gtk/src/numerableicon.hg
@@ -28,10 +28,10 @@ namespace Gtk
 
 /** A Gio::Icon that allows numbered emblems.
  *
- * GtkNumerableIcon is a subclass of EmblemedIcon that can show a number or short string as an emblem. 
- * The number can be overlayed on top of another emblem, if desired. 
+ * GtkNumerableIcon is a subclass of EmblemedIcon that can show a number or short string as an emblem.
+ * The number can be overlayed on top of another emblem, if desired.
  *
- * It supports theming by taking font and color information from a provided StyleContext. See set_style_context(). 
+ * It supports theming by taking font and color information from a provided StyleContext. See set_style_context().
  *
  * @newin{3,0}
  */
@@ -51,7 +51,7 @@ public:
 
   _WRAP_METHOD(Glib::RefPtr<StyleContext> get_style_context(), gtk_numerable_icon_get_style_context, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const StyleContext> get_style_context() const, gtk_numerable_icon_get_style_context, refreturn, constversion)
-  
+
   _WRAP_METHOD(void set_style_context(const Glib::RefPtr<StyleContext>& style), gtk_numerable_icon_set_style_context)
 
   _WRAP_METHOD(int get_count() const, gtk_numerable_icon_get_count)
@@ -61,13 +61,13 @@ public:
   _WRAP_METHOD(void set_label(const Glib::ustring& label), gtk_numerable_icon_set_label)
 
   _WRAP_METHOD(void set_background_gicon(const Glib::RefPtr<Gio::Icon>& icon), gtk_numerable_icon_set_background_gicon)
-  
+
   _WRAP_METHOD(Glib::RefPtr<Gio::Icon> get_background_gicon(), gtk_numerable_icon_get_background_gicon, refreturn)
-  _WRAP_METHOD(Glib::RefPtr<const Gio::Icon> get_background_gicon() const, tk_numerable_icon_get_background_gicon, refreturn, constversion)
-  
+  _WRAP_METHOD(Glib::RefPtr<const Gio::Icon> get_background_gicon() const, gtk_numerable_icon_get_background_gicon, refreturn, constversion)
+
   _WRAP_METHOD(void set_background_icon_name(const Glib::ustring& icon_name), gtk_numerable_icon_set_background_icon_name)
   _WRAP_METHOD(Glib::ustring get_background_icon_name() const, gtk_numerable_icon_get_background_icon_name)
-  
+
   _WRAP_PROPERTY("count", int)
   _WRAP_PROPERTY("label", Glib::ustring)
   _WRAP_PROPERTY("style-context", Glib::RefPtr<StyleContext>)
diff --git a/gtk/src/stylecontext.hg b/gtk/src/stylecontext.hg
index 077f747..5b7c755 100644
--- a/gtk/src/stylecontext.hg
+++ b/gtk/src/stylecontext.hg
@@ -118,7 +118,7 @@ public:
   _WRAP_METHOD(void get_property (
                                      const Glib::ustring& property,
                                      StateFlags    state,
-                                     GValue          *value), tk_style_context_get_property)
+                                     GValue          *value), gtk_style_context_get_property)
   _WRAP_METHOD(void get_valist   (
                                      StateFlags    state,
                                      va_list          args), gtk_style_context_get_valist)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]