[gnome-commander] Removed forgotten G_BEGIN_DECLS & G_END_DECLS



commit 228358e94af4d485c96b1e8e6323b5da4b656018
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Dec 9 23:13:21 2009 +0100

    Removed forgotten G_BEGIN_DECLS & G_END_DECLS

 plugins/cvs/cvs-plugin.h   |    4 ----
 plugins/cvs/parser.h       |    4 ----
 plugins/test/test-plugin.h |   10 ++--------
 3 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/plugins/cvs/cvs-plugin.h b/plugins/cvs/cvs-plugin.h
index 95f24f9..4840e5e 100644
--- a/plugins/cvs/cvs-plugin.h
+++ b/plugins/cvs/cvs-plugin.h
@@ -35,8 +35,6 @@ typedef struct _CvsPluginPrivate CvsPluginPrivate;
 #include <libgcmd/libgcmd.h>
 #include "parser.h"
 
-G_BEGIN_DECLS
-
 struct _CvsPlugin
 {
     GnomeCmdPlugin parent;
@@ -62,6 +60,4 @@ GtkType cvs_plugin_get_type ();
 
 GnomeCmdPlugin *cvs_plugin_new ();
 
-G_END_DECLS
-
 #endif //__CVS_PLUGIN_H__
diff --git a/plugins/cvs/parser.h b/plugins/cvs/parser.h
index 77f983d..8f2116d 100644
--- a/plugins/cvs/parser.h
+++ b/plugins/cvs/parser.h
@@ -34,8 +34,6 @@ typedef struct {
 
 #include "cvs-plugin.h"
 
-G_BEGIN_DECLS
-
 typedef struct {
     gchar *fname;
     GList *revisions;
@@ -55,6 +53,4 @@ typedef struct {
 LogHistory *log_create (CvsPlugin *plugin, const gchar *fpath);
 void log_free (LogHistory *log);
 
-G_END_DECLS
-
 #endif //__PARSER_H__
diff --git a/plugins/test/test-plugin.h b/plugins/test/test-plugin.h
index 6325aac..5279868 100644
--- a/plugins/test/test-plugin.h
+++ b/plugins/test/test-plugin.h
@@ -21,8 +21,6 @@
 #ifndef __TEST_PLUGIN_H__
 #define __TEST_PLUGIN_H__
 
-G_BEGIN_DECLS
-
 #define TEST_PLUGIN(obj) \
     GTK_CHECK_CAST (obj, test_plugin_get_type (), TestPlugin)
 #define TEST_PLUGIN_CLASS(klass) \
@@ -48,12 +46,8 @@ struct _TestPluginClass
 };
 
 
-GtkType
-test_plugin_get_type ();
-
-GnomeCmdPlugin *
-test_plugin_new ();
+GtkType test_plugin_get_type ();
 
-G_END_DECLS
+GnomeCmdPlugin *test_plugin_new ();
 
 #endif //__TEST_PLUGIN_H__



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