[libpeas] Fixed and added file copyrights and #include <config.h>



commit 76ea3e1a960b057f2ceb0efa40310423852dcc6d
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Jan 23 12:51:11 2011 -0800

    Fixed and added file copyrights and #include <config.h>

 libpeas/peas-activatable.c                         |    2 +-
 libpeas/peas-debug.c                               |    2 +-
 libpeas/peas-extension-base.c                      |    3 +-
 libpeas/peas-extension-base.h                      |    2 +-
 libpeas/peas-extension-subclasses.c                |    2 +-
 libpeas/peas-extension.c                           |    2 +-
 libpeas/peas-helpers.c                             |   26 ++++++++++++++++++++
 libpeas/peas-helpers.h                             |   21 ++++++++++++++++
 peas-demo/peas-demo.c                              |    2 +
 .../helloworld/peasdemo-hello-world-configurable.c |   25 +++++++++++++++++++
 .../helloworld/peasdemo-hello-world-configurable.h |   23 ++++++++++++++++-
 .../helloworld/peasdemo-hello-world-plugin.c       |   25 +++++++++++++++++++
 .../helloworld/peasdemo-hello-world-plugin.h       |   23 ++++++++++++++++-
 peas-demo/plugins/pythonhello/pythonhello.py       |   21 ++++++++++++++++
 peas-demo/plugins/secondtime/second-time.c         |   25 +++++++++++++++++++
 peas-demo/plugins/secondtime/second-time.h         |   22 ++++++++++++++++-
 peas-demo/plugins/seedhello/seedhello.js           |   21 ++++++++++++++++
 17 files changed, 237 insertions(+), 10 deletions(-)
---
diff --git a/libpeas/peas-activatable.c b/libpeas/peas-activatable.c
index 864468e..d0ce314 100644
--- a/libpeas/peas-activatable.c
+++ b/libpeas/peas-activatable.c
@@ -1,5 +1,5 @@
 /*
- * peas-activatable.h
+ * peas-activatable.c
  * This file is part of libpeas
  *
  * Copyright (C) 2010 Steve Frécinaux
diff --git a/libpeas/peas-debug.c b/libpeas/peas-debug.c
index c94d672..da58c26 100644
--- a/libpeas/peas-debug.c
+++ b/libpeas/peas-debug.c
@@ -23,7 +23,7 @@
 #include <config.h>
 #endif
 
-#include "libpeas/peas-debug.h"
+#include "peas-debug.h"
 
 
 static void
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c
index f4cd29f..4cf8210 100644
--- a/libpeas/peas-extension-base.c
+++ b/libpeas/peas-extension-base.c
@@ -1,5 +1,5 @@
 /*
- * peas-plugin.h
+ * peas-extension-base.c
  * This file is part of libpeas
  *
  * Copyright (C) 2002-2008 Paolo Maggi
@@ -26,7 +26,6 @@
 
 #include "peas-extension-base.h"
 #include "peas-plugin-info-priv.h"
-#include "peas-dirs.h"
 
 /**
  * SECTION:peas-extension-base
diff --git a/libpeas/peas-extension-base.h b/libpeas/peas-extension-base.h
index 0977582..130a5bf 100644
--- a/libpeas/peas-extension-base.h
+++ b/libpeas/peas-extension-base.h
@@ -1,5 +1,5 @@
 /*
- * peas-plugin.h
+ * peas-extension-base.h
  * This file is part of libpeas
  *
  * Copyright (C) 2002-2005 - Paolo Maggi
diff --git a/libpeas/peas-extension-subclasses.c b/libpeas/peas-extension-subclasses.c
index 1b79c08..020f2bf 100644
--- a/libpeas/peas-extension-subclasses.c
+++ b/libpeas/peas-extension-subclasses.c
@@ -1,5 +1,5 @@
 /*
- * peas-extension-subclasses.h
+ * peas-extension-subclasses.c
  * This file is part of libpeas
  *
  * Copyright (C) 2010 - Steve Frécinaux
diff --git a/libpeas/peas-extension.c b/libpeas/peas-extension.c
index c102ade..9024199 100644
--- a/libpeas/peas-extension.c
+++ b/libpeas/peas-extension.c
@@ -1,5 +1,5 @@
 /*
- * peas-extension.h
+ * peas-extension.c
  * This file is part of libpeas
  *
  * Copyright (C) 2010 Steve Frécinaux
diff --git a/libpeas/peas-helpers.c b/libpeas/peas-helpers.c
index 97cd748..5209a04 100644
--- a/libpeas/peas-helpers.c
+++ b/libpeas/peas-helpers.c
@@ -1,4 +1,30 @@
+/*
+ * peas-helpers.c
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gobject/gvaluecollector.h>
+
 #include "peas-helpers.h"
 
 gpointer
diff --git a/libpeas/peas-helpers.h b/libpeas/peas-helpers.h
index 3bfce28..67cc0b8 100644
--- a/libpeas/peas-helpers.h
+++ b/libpeas/peas-helpers.h
@@ -1,3 +1,24 @@
+/*
+ * peas-helpers.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
 #ifndef __PEAS_HELPERS_H__
 #define __PEAS_HELPERS_H__
 
diff --git a/peas-demo/peas-demo.c b/peas-demo/peas-demo.c
index b609183..6420b07 100644
--- a/peas-demo/peas-demo.c
+++ b/peas-demo/peas-demo.c
@@ -19,7 +19,9 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <gtk/gtk.h>
 #include <girepository.h>
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.c b/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.c
index d50135c..ff4209f 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.c
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.c
@@ -1,3 +1,28 @@
+/*
+ * peasdemo-hello-world-configurable.c
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <glib-object.h>
 #include <gmodule.h>
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.h b/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.h
index 8ec942d..f4cdf1a 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.h
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-configurable.h
@@ -1,3 +1,24 @@
+/*
+ * peasdemo-hello-world-configurable.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
 #ifndef __PEASDEMO_HELLO_WORLD_CONFIGURABLE_H__
 #define __PEASDEMO_HELLO_WORLD_CONFIGURABLE_H__
 
@@ -29,4 +50,4 @@ void    peasdemo_hello_world_configurable_register  (GTypeModule *module);
 
 G_END_DECLS
 
-#endif /* __PeasDEMO_HELLO_WORLD_CONFIGURABLE_H__ */
+#endif /* __PEASDEMO_HELLO_WORLD_CONFIGURABLE_H__ */
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
index fcc1cba..24d5fe0 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
@@ -1,3 +1,28 @@
+/*
+ * peasdemo-hello-world-plugin.c
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <glib-object.h>
 #include <gmodule.h>
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
index 70e5d12..ff98bff 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.h
@@ -1,3 +1,24 @@
+/*
+ * peasdemo-hello-world-plugin.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
 #ifndef __PEASDEMO_HELLO_WORLD_PLUGIN_H__
 #define __PEASDEMO_HELLO_WORLD_PLUGIN_H__
 
@@ -32,4 +53,4 @@ G_MODULE_EXPORT void  peas_register_types                         (PeasObjectMod
 
 G_END_DECLS
 
-#endif /* __PeasDEMO_HELLO_WORLD_PLUGIN_H__ */
+#endif /* __PEASDEMO_HELLO_WORLD_PLUGIN_H__ */
diff --git a/peas-demo/plugins/pythonhello/pythonhello.py b/peas-demo/plugins/pythonhello/pythonhello.py
index 285972c..f2b6e13 100644
--- a/peas-demo/plugins/pythonhello/pythonhello.py
+++ b/peas-demo/plugins/pythonhello/pythonhello.py
@@ -1,6 +1,27 @@
 # -*- coding: utf-8 -*-
 # ex:set ts=4 et sw=4 ai:
 
+##
+# pythonhello.py
+# This file is part of libpeas
+#
+# Copyright (C) 2009-2010 Steve Frécinaux
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Library General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
+
 import gobject
 from gi.repository import Peas
 from gi.repository import PeasGtk
diff --git a/peas-demo/plugins/secondtime/second-time.c b/peas-demo/plugins/secondtime/second-time.c
index 2d11cb8..3f013ec 100644
--- a/peas-demo/plugins/secondtime/second-time.c
+++ b/peas-demo/plugins/secondtime/second-time.c
@@ -1,3 +1,28 @@
+/*
+ * second-time.c
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <glib-object.h>
 #include <gmodule.h>
diff --git a/peas-demo/plugins/secondtime/second-time.h b/peas-demo/plugins/secondtime/second-time.h
index c0345ae..d119418 100644
--- a/peas-demo/plugins/secondtime/second-time.h
+++ b/peas-demo/plugins/secondtime/second-time.h
@@ -1,3 +1,23 @@
+/*
+ * second-time.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
 #ifndef __PEASDEMO_SECOND_TIME_H__
 #define __PEASDEMO_SECOND_TIME_H__
 
@@ -32,4 +52,4 @@ G_MODULE_EXPORT void  peas_register_types                         (PeasObjectMod
 
 G_END_DECLS
 
-#endif /* __PeasDEMO_HELLO_WORLD_PLUGIN_H__ */
+#endif /* __PEASDEMO_SECOND_TIME_H__ */
diff --git a/peas-demo/plugins/seedhello/seedhello.js b/peas-demo/plugins/seedhello/seedhello.js
index 4ae0b8a..46401cb 100644
--- a/peas-demo/plugins/seedhello/seedhello.js
+++ b/peas-demo/plugins/seedhello/seedhello.js
@@ -1,3 +1,24 @@
+/*
+ * seedhello.js
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2009-2010 Steve Frécinaux
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Library General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
 var Gtk = imports.gi.Gtk;
 
 var LABEL_STRING = "Seed Says Hello Too!";



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