[libgee] Make Functions class a namespace and fix copyright and authorship
- From: Didier 'Ptitjes' Villevalois <dvillevalois src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgee] Make Functions class a namespace and fix copyright and authorship
- Date: Tue, 15 Sep 2009 23:54:45 +0000 (UTC)
commit 91103627463963dae101d3e400651751c830f4ac
Author: Didier 'Ptitjes <ptitjes free fr>
Date: Wed Sep 16 01:53:38 2009 +0200
Make Functions class a namespace and fix copyright and authorship
gee/functions.vala | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gee/functions.vala b/gee/functions.vala
index 7ca0c6c..bcb4207 100644
--- a/gee/functions.vala
+++ b/gee/functions.vala
@@ -1,6 +1,6 @@
/* functions.vala
*
- * Copyright (C) 2009 Maciej Piechotka
+ * Copyright (C) 2009 Didier Villevalois, Maciej Piechotka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author:
+ * Didier 'Ptitjes' Villevalois <ptitjes free fr>
* Maciej Piechotka <uzytkownik2 gmail com>
*/
@@ -27,10 +28,7 @@ namespace Gee {
/**
* Helper class for equal, hash and compare functions.
*/
- public class Functions {
-
- private Functions () {
- }
+ namespace Functions {
/**
* Get a equality testing function for a given type.
@@ -73,7 +71,7 @@ namespace Gee {
if (t == typeof (string)) {
return (CompareFunc) strcmp;
} else {
- return direct_compare;
+ return (CompareFunc) direct_compare;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]