[gtksourceviewmm] Change SourceStyleSchemeManager to StyleSchemeManager.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Change SourceStyleSchemeManager to StyleSchemeManager.
- Date: Sun, 27 Mar 2011 14:16:23 +0000 (UTC)
commit cd18031009a74def5eb95aa468dd7ef1327caf3e
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Mar 27 15:42:05 2011 +0200
Change SourceStyleSchemeManager to StyleSchemeManager.
* gtksourceview/src/sourcestyleschememanager.[hg|ccg]: Ran source_truncate.pl
on these and renamed them to...
* gtksourceview/src/styleschememanager.[hg|ccg]: ...these
...yleschememanager.ccg => styleschememanager.ccg} | 4 +-
...styleschememanager.hg => styleschememanager.hg} | 26 ++++++++++----------
2 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gtksourceview/src/sourcestyleschememanager.ccg b/gtksourceview/src/styleschememanager.ccg
similarity index 92%
rename from gtksourceview/src/sourcestyleschememanager.ccg
rename to gtksourceview/src/styleschememanager.ccg
index 1d48afa..b4605f3 100644
--- a/gtksourceview/src/sourcestyleschememanager.ccg
+++ b/gtksourceview/src/styleschememanager.ccg
@@ -1,4 +1,4 @@
-/* sourcestyleschememanager.cc
+/* styleschememanager.cc
*
* Copyright (C) 2004-2005 Jae Jang
* Copyright (C) 2005-2006 Rob Page
@@ -26,7 +26,7 @@ namespace Gsv
{
-void SourceStyleSchemeManager::reset_search_path()
+void StyleSchemeManager::reset_search_path()
{
gtk_source_style_scheme_manager_set_search_path(gobj(), 0);
}
diff --git a/gtksourceview/src/sourcestyleschememanager.hg b/gtksourceview/src/styleschememanager.hg
similarity index 77%
rename from gtksourceview/src/sourcestyleschememanager.hg
rename to gtksourceview/src/styleschememanager.hg
index a589cc9..b8126bc 100644
--- a/gtksourceview/src/sourcestyleschememanager.hg
+++ b/gtksourceview/src/styleschememanager.hg
@@ -1,4 +1,4 @@
-/* sourcestyleschememanager.h
+/* styleschememanager.h
*
* Copyright (C) 2008 Jonathon Jongsma
* Copyright (C) 2009, 2010, 2011 Krzesimir Nowak
@@ -22,7 +22,7 @@
#include <gtksourceview/gtksourcestyleschememanager.h>
-#include <gtksourceviewmm/sourcestylescheme.h>
+#include <gtksourceviewmm/stylescheme.h>
_DEFS(gtksourceviewmm,gtksourceview)
_PINCLUDE(glibmm/private/object_p.h)
@@ -32,9 +32,9 @@ namespace Gsv
/** Class providing access to SourceStyleSchemes.
*/
-class SourceStyleSchemeManager : public Glib::Object
+class StyleSchemeManager : public Glib::Object
{
- _CLASS_GOBJECT(SourceStyleSchemeManager, GtkSourceStyleSchemeManager, GTK_SOURCE_STYLE_SCHEME_MANAGER, Glib::Object, GObject)
+ _CLASS_GOBJECT(StyleSchemeManager, GtkSourceStyleSchemeManager, GTK_SOURCE_STYLE_SCHEME_MANAGER, Glib::Object, GObject)
protected:
_CTOR_DEFAULT
@@ -45,15 +45,15 @@ public:
* If you do not need more than one style manager then use get_default()
* instead.
*
- * @return A SourceStyleSchemeManager.
+ * @return A StyleSchemeManager.
*/
_WRAP_CREATE()
- /** Returns the default SourceStyleSchemeManager instance.
+ /** Returns the default StyleSchemeManager instance.
*
- * @return A SourceStyleSchemeManager.
+ * @return A StyleSchemeManager.
*/
- _WRAP_METHOD(static Glib::RefPtr<SourceStyleSchemeManager> get_default(), gtk_source_style_scheme_manager_get_default, refreturn)
+ _WRAP_METHOD(static Glib::RefPtr<StyleSchemeManager> get_default(), gtk_source_style_scheme_manager_get_default, refreturn)
#m4 _CONVERSION(`const gchar**',`std::vector<std::string>',`Glib::ArrayHandler<std::string>::array_to_vector($3, Glib::OWNERSHIP_NONE)')
@@ -87,17 +87,17 @@ public:
*
* @param scheme_id Style scheme id to find.
*
- * @return A SourceStyleScheme object.
+ * @return A StyleScheme object.
*/
- _WRAP_METHOD(Glib::RefPtr<SourceStyleScheme> get_scheme(const std::string& scheme_id), gtk_source_style_scheme_manager_get_scheme, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<StyleScheme> get_scheme(const std::string& scheme_id), gtk_source_style_scheme_manager_get_scheme, refreturn)
/** Looks up style scheme by id.
*
* @param scheme_id Style scheme id to find.
*
- * @return A SourceStyleScheme object.
+ * @return A StyleScheme object.
*/
- _WRAP_METHOD(Glib::RefPtr<const SourceStyleScheme> get_scheme(const std::string& scheme_id) const, gtk_source_style_scheme_manager_get_scheme, refreturn, constversion)
+ _WRAP_METHOD(Glib::RefPtr<const StyleScheme> get_scheme(const std::string& scheme_id) const, gtk_source_style_scheme_manager_get_scheme, refreturn, constversion)
/** Mark any currently cached information about the available style schemes
* as invalid.
@@ -116,7 +116,7 @@ public:
_WRAP_PROPERTY("search-path", std::vector<std::string>)
_WRAP_PROPERTY("scheme-ids", std::vector<std::string>)
-};//end class SourceStyleSchemeManager
+};//end class StyleSchemeManager
}//end namespace Gsv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]