[gtksourceviewmm] Change SourceStyleScheme to StyleScheme.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Change SourceStyleScheme to StyleScheme.
- Date: Sun, 27 Mar 2011 14:16:18 +0000 (UTC)
commit 7014f8c025a7689700222c0e3894dd5d2325009e
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Mar 27 15:42:05 2011 +0200
Change SourceStyleScheme to StyleScheme.
* gtksourceview/src/sourcestylescheme.[hg|ccg]: Ran source_truncate.pl
on these and renamed them to...
* gtksourceview/src/stylescheme.[hg|ccg]: ...these
.../src/{sourcestylescheme.ccg => stylescheme.ccg} | 2 +-
.../src/{sourcestylescheme.hg => stylescheme.hg} | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gtksourceview/src/sourcestylescheme.ccg b/gtksourceview/src/stylescheme.ccg
similarity index 97%
rename from gtksourceview/src/sourcestylescheme.ccg
rename to gtksourceview/src/stylescheme.ccg
index e64b4f5..0ed63d5 100644
--- a/gtksourceview/src/sourcestylescheme.ccg
+++ b/gtksourceview/src/stylescheme.ccg
@@ -1,4 +1,4 @@
-/* sourcestylescheme.cc
+/* stylescheme.cc
*
* Copyright (C) 2004-2005 Jae Jang
* Copyright (C) 2005-2006 Rob Page
diff --git a/gtksourceview/src/sourcestylescheme.hg b/gtksourceview/src/stylescheme.hg
similarity index 81%
rename from gtksourceview/src/sourcestylescheme.hg
rename to gtksourceview/src/stylescheme.hg
index 74af1d0..a3eb6a7 100644
--- a/gtksourceview/src/sourcestylescheme.hg
+++ b/gtksourceview/src/stylescheme.hg
@@ -1,4 +1,4 @@
-/* sourcestylescheme.h
+/* stylescheme.h
*
* Copyright (C) 2004-2005 Jae Jang
* Copyright (C) 2005-2006 Rob Page
@@ -26,7 +26,7 @@
#include <glibmm/object.h>
-#include <gtksourceviewmm/sourcestyle.h>
+#include <gtksourceviewmm/style.h>
_DEFS(gtksourceviewmm,gtksourceview)
_PINCLUDE(glibmm/private/object_p.h)
@@ -36,10 +36,10 @@ namespace Gsv
-/** Object controlling appearance of SourceView.
+/** Object controlling appearance of View.
*
- * SourceStyleScheme contains all the text styles to be used in SourceView and
- * SourceBuffer. For instance, it contains text styles for syntax highlighting,
+ * StyleScheme contains all the text styles to be used in View and
+ * Buffer. For instance, it contains text styles for syntax highlighting,
* it may contain foreground and background color for non-highlighted text,
* color for the line numbers, etc.
*
@@ -48,9 +48,9 @@ namespace Gsv
*
* @newin{2,2}
*/
-class SourceStyleScheme : public Glib::Object
+class StyleScheme : public Glib::Object
{
- _CLASS_GOBJECT(SourceStyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, Glib::Object, GObject)
+ _CLASS_GOBJECT(StyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, Glib::Object, GObject)
public:
@@ -106,7 +106,7 @@ public:
*
* @newin{2,2}
*/
- _WRAP_METHOD(Glib::RefPtr<SourceStyle> get_style(const Glib::ustring& style_id), gtk_source_style_scheme_get_style, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<Style> get_style(const Glib::ustring& style_id), gtk_source_style_scheme_get_style, refreturn)
/** Gets style corresponding to @a style_id in scheme.
*
@@ -117,13 +117,13 @@ public:
*
* @newin{2,2}
*/
- _WRAP_METHOD(Glib::RefPtr<const SourceStyle> get_style(const Glib::ustring& style_id) const, gtk_source_style_scheme_get_style, refreturn, constversion)
+ _WRAP_METHOD(Glib::RefPtr<const Style> get_style(const Glib::ustring& style_id) const, gtk_source_style_scheme_get_style, refreturn, constversion)
_WRAP_PROPERTY("id", std::string)
_WRAP_PROPERTY("name", Glib::ustring)
_WRAP_PROPERTY("description", Glib::ustring)
_WRAP_PROPERTY("filename", std::string)
-};//end class SourceStyleScheme
+};//end class StyleScheme
}//end namespace Gsv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]