[gtksourceviewmm] Add a TODO to SourceStyleScheme - this class is wrapped wrongly.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Add a TODO to SourceStyleScheme - this class is wrapped wrongly.
- Date: Fri, 26 Feb 2010 13:26:32 +0000 (UTC)
commit b9097aa0a91c23d1847d3fa7506b655ca567b38b
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Thu Feb 25 17:07:34 2010 +0100
Add a TODO to SourceStyleScheme - this class is wrapped wrongly.
* gtksourceview/src/sourcestylescheme.hg: This class is wrapped as
a Glib::Interface, which it is not - it is a Glib::Object, but
changing this breaks API. For now it stays and will be changed when
API/ABI break happen.
gtksourceview/src/sourcestylescheme.hg | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/src/sourcestylescheme.hg b/gtksourceview/src/sourcestylescheme.hg
index 01d6023..b44b348 100644
--- a/gtksourceview/src/sourcestylescheme.hg
+++ b/gtksourceview/src/sourcestylescheme.hg
@@ -30,6 +30,8 @@ _PINCLUDE(glibmm/private/interface_p.h)
namespace gtksourceview
{
+
+
/** Object controlling apperance of SourceView.
*
* SourceStyleScheme contains all the text styles to be used in SourceView and
@@ -45,8 +47,15 @@ namespace gtksourceview
class SourceStyleScheme : public Glib::Interface
{
- _CLASS_INTERFACE(SourceStyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, GTypeInterface)
+ _CLASS_INTERFACE(SourceStyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, GTypeInterface)
+
+// TODO: This is wrong. GtkSourceStyleScheme is not an interface. Changing this breaks API.
+/*
+class SourceStyleScheme : public Glib::Object
+{
+ _CLASS_GOBJECT(SourceStyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, Glib::Object, GObject)
+*/
public:
/** Gets scheme id.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]