[pygobject/gsoc2009: 113/160] Unify file naming convention



commit 2e94c4222277df954a475fcc8cf3dd6fe49fae35
Author: Simon van der Linden <svdlinden src gnome org>
Date:   Wed Aug 5 16:13:19 2009 +0200

    Unify file naming convention

 gi/Makefile.am                             |   12 ++++++------
 gi/{pygargument.c => pygi-argument.c}      |    2 +-
 gi/{pygargument.h => pygi-argument.h}      |    6 +++---
 gi/{pygiinfo.c => pygi-info.c}             |    2 +-
 gi/{pygiinfo.h => pygi-info.h}             |    0
 gi/pygi-private.h                          |    6 +++---
 gi/{pygirepository.c => pygi-repository.c} |    2 +-
 gi/{pygirepository.h => pygi-repository.h} |    0
 8 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gi/Makefile.am b/gi/Makefile.am
index d4e1e11..e3d8839 100644
--- a/gi/Makefile.am
+++ b/gi/Makefile.am
@@ -41,12 +41,12 @@ _gi_la_CFLAGS = -O0
 _gi_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gi
 _gi_la_LIBADD = $(GOBJECT_INTROSPECTION_LIBS)
 _gi_la_SOURCES = \
-	pygirepository.c \
-	pygirepository.h \
-	pygiinfo.c \
-	pygiinfo.h \
-	pygargument.c \
-	pygargument.h \
+	pygi-repository.c \
+	pygi-repository.h \
+	pygi-info.c \
+	pygi-info.h \
+	pygi-argument.c \
+	pygi-argument.h \
 	pygi.h \
 	pygi-private.h \
 	gimodule.c
diff --git a/gi/pygargument.c b/gi/pygi-argument.c
similarity index 99%
rename from gi/pygargument.c
rename to gi/pygi-argument.c
index c089184..ea120f0 100644
--- a/gi/pygargument.c
+++ b/gi/pygi-argument.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2005-2009 Johan Dahlin <johan gnome org>
  *
- *   pygargument.c: GArgument - PyObject conversion fonctions.
+ *   pygi-argument.c: GArgument - PyObject conversion functions.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gi/pygargument.h b/gi/pygi-argument.h
similarity index 95%
rename from gi/pygargument.h
rename to gi/pygi-argument.h
index 7a7591b..e714e54 100644
--- a/gi/pygargument.h
+++ b/gi/pygi-argument.h
@@ -19,8 +19,8 @@
  * USA
  */
 
-#ifndef __PYG_ARGUMENT_H__
-#define __PYG_ARGUMENT_H__
+#ifndef __PYGI_ARGUMENT_H__
+#define __PYGI_ARGUMENT_H__
 
 #include <Python.h>
 
@@ -54,4 +54,4 @@ void pyg_argument_init(void);
 
 G_END_DECLS
 
-#endif /* __PYG_ARGUMENT_H__ */
+#endif /* __PYGI_ARGUMENT_H__ */
diff --git a/gi/pygiinfo.c b/gi/pygi-info.c
similarity index 99%
rename from gi/pygiinfo.c
rename to gi/pygi-info.c
index 4133c74..8afffb5 100644
--- a/gi/pygiinfo.c
+++ b/gi/pygi-info.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2005-2009 Johan Dahlin <johan gnome org>
  *
- *   pygiinfo.c: GI.*Info wrappers.
+ *   pygi-info.c: GI.*Info wrappers.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gi/pygiinfo.h b/gi/pygi-info.h
similarity index 100%
rename from gi/pygiinfo.h
rename to gi/pygi-info.h
diff --git a/gi/pygi-private.h b/gi/pygi-private.h
index 033c455..e099687 100644
--- a/gi/pygi-private.h
+++ b/gi/pygi-private.h
@@ -12,9 +12,9 @@
 
 #include "pygi.h"
 
-#include "pygirepository.h"
-#include "pygiinfo.h"
-#include "pygargument.h"
+#include "pygi-repository.h"
+#include "pygi-info.h"
+#include "pygi-argument.h"
 
 extern PyTypeObject PyGIRepository_Type;
 
diff --git a/gi/pygirepository.c b/gi/pygi-repository.c
similarity index 99%
rename from gi/pygirepository.c
rename to gi/pygi-repository.c
index 1e9decb..85c1fea 100644
--- a/gi/pygirepository.c
+++ b/gi/pygi-repository.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2005-2009 Johan Dahlin <johan gnome org>
  *
- *   pygirepository.c: GIRepository wrapper.
+ *   pygi-repository.c: GIRepository wrapper.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gi/pygirepository.h b/gi/pygi-repository.h
similarity index 100%
rename from gi/pygirepository.h
rename to gi/pygi-repository.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]