[gtksourceviewmm] Fix build with latest GtkSourceView.



commit 57f22f58cc169491594a54ebb177c5152989169e
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Mon Dec 27 15:11:53 2010 +0100

    Fix build with latest GtkSourceView.
    
    * gtksourceview/src/gtksourceview_methods.defs:
    * gtksourceview/src/sourcemarkcategory.hg: Remove the `stock_' from
    C gtk_source_mark_category_get_stock_icon_name() and from C++
    get_stock_icon_name().

 gtksourceview/src/gtksourceview_methods.defs |    4 ++--
 gtksourceview/src/sourcemarkcategory.hg      |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/src/gtksourceview_methods.defs b/gtksourceview/src/gtksourceview_methods.defs
index c373985..2e19a4f 100644
--- a/gtksourceview/src/gtksourceview_methods.defs
+++ b/gtksourceview/src/gtksourceview_methods.defs
@@ -1490,9 +1490,9 @@
   )
 )
 
-(define-method get_stock_icon_name
+(define-method get_icon_name
   (of-object "GtkSourceMarkCategory")
-  (c-name "gtk_source_mark_category_get_stock_icon_name")
+  (c-name "gtk_source_mark_category_get_icon_name")
   (return-type "const-gchar*")
 )
 
diff --git a/gtksourceview/src/sourcemarkcategory.hg b/gtksourceview/src/sourcemarkcategory.hg
index c05afa5..9044086 100644
--- a/gtksourceview/src/sourcemarkcategory.hg
+++ b/gtksourceview/src/sourcemarkcategory.hg
@@ -81,7 +81,7 @@ public:
 
   _WRAP_METHOD(void set_icon_name(const std::string& icon_name), gtk_source_mark_category_set_icon_name)
 
-  _WRAP_METHOD(std::string get_stock_icon_name() const, gtk_source_mark_category_get_stock_icon_name)
+  _WRAP_METHOD(std::string get_icon_name() const, gtk_source_mark_category_get_icon_name)
 
 #m4 _CONVERSION(`GIcon*', `Glib::RefPtr<Gio::Icon>', `Glib::wrap($3)')
   _WRAP_METHOD(Glib::RefPtr<Gio::Icon> get_icon(), gtk_source_mark_category_get_gicon, refreturn)



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