[gtksourceviewmm/devel: 23/26] Removed 'const' from CellRendereres in signals.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm/devel: 23/26] Removed 'const' from CellRendereres in signals.
- Date: Wed, 6 Jan 2010 09:56:46 +0000 (UTC)
commit a2634fb486b5ce9bc1d01c286909b1a685822433
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Jan 6 01:23:12 2010 +0100
Removed 'const' from CellRendereres in signals.
* gtksourceview/src/sourcegutter.hg: Removed const modifier from
CellRenderers - they are modified inside.
gtksourceview/src/sourcegutter.hg | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtksourceview/src/sourcegutter.hg b/gtksourceview/src/sourcegutter.hg
index 7179815..d802796 100644
--- a/gtksourceview/src/sourcegutter.hg
+++ b/gtksourceview/src/sourcegutter.hg
@@ -33,6 +33,8 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace gtksourceview
{
+class SourceView;
+
class SourceGutter : public Glib::Object
{
_CLASS_GOBJECT(SourceGutter, GtkSourceGutter, GTK_SOURCE_GUTTER, Glib::Object, GObject)
@@ -66,16 +68,14 @@ public:
_WRAP_PROPERTY("view", SourceView*)
_WRAP_PROPERTY("window-type", Gtk::TextWindowType)
-#m4 _CONVERSION(`GtkCellRenderer*',`const Gtk::CellRenderer*',`Glib::wrap($3)')
+#m4 _CONVERSION(`GtkCellRenderer*',`Gtk::CellRenderer*',`Glib::wrap($3)')
#m4 _CONVERSION(`GtkTextIter*',`const Gtk::TextIter&',`Glib::wrap($3)')
-#m4 _CONVERSION(`gpointer',`GdkEvent*',`static_cast<GdkEvent*>($3)')
-#m4 _CONVERSION(`const Gtk::CellRenderer*',`GtkCellRenderer*',`const_cast<GtkCellRenderer*>(($3)->gobj())')
+#m4 _CONVERSION(`Gtk::CellRenderer*',`GtkCellRenderer*',`const_cast<GtkCellRenderer*>(($3)->gobj())')
#m4 _CONVERSION(`const Gtk::TextIter&',`GtkTextIter*',`const_cast<GtkTextIter*>(($3).gobj())')
-#m4 _CONVERSION(`GdkEvent*',`gpointer',`static_cast<gpointer>($3)')
#m4 _CONVERSION(`GtkTooltip*',`const Glib::RefPtr<Gtk::Tooltip>&',`Glib::wrap($3)')
#m4 _CONVERSION(`const Glib::RefPtr<Gtk::Tooltip>&',`GtkTooltip*',`const_cast<GtkTooltip*>(($3)->gobj())')
- _WRAP_SIGNAL(void cell_activated(const Gtk::CellRenderer* renderer, const Gtk::TextIter& iter, GdkEvent* event), "cell-activated")
- _WRAP_SIGNAL(bool query_tooltip(const Gtk::CellRenderer* renderer, const Gtk::TextIter& iter, const Glib::RefPtr<Gtk::Tooltip>& tooltip), "query-tooltip")
+ _WRAP_SIGNAL(void cell_activated(Gtk::CellRenderer* renderer, const Gtk::TextIter& iter, GdkEvent* event), "cell-activated")
+ _WRAP_SIGNAL(bool query_tooltip(Gtk::CellRenderer* renderer, const Gtk::TextIter& iter, const Glib::RefPtr<Gtk::Tooltip>& tooltip), "query-tooltip")
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]