aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-encoding-menu.h')
-rw-r--r--src/ephy-encoding-menu.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/ephy-encoding-menu.h b/src/ephy-encoding-menu.h
index 1cfa44f82..b1ed37bc8 100644
--- a/src/ephy-encoding-menu.h
+++ b/src/ephy-encoding-menu.h
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2002 Ricardo Fernández Pascual
+ * Copyright (C) 2003 Marco Pesenti Gritti
+ * Copyright (C) 2003 Christian Persch
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,6 +16,8 @@
* You should have received a copy of the GNU 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.
+ *
+ * $Id$
*/
#ifndef EPHY_ENCODING_MENU_H
@@ -21,29 +25,24 @@
#include "ephy-window.h"
-/* object forward declarations */
+G_BEGIN_DECLS
+
+#define EPHY_TYPE_ENCODING_MENU (ephy_encoding_menu_get_type())
+#define EPHY_ENCODING_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenu))
+#define EPHY_ENCODING_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenuClass))
+#define EPHY_IS_ENCODING_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_ENCODING_MENU))
+#define EPHY_IS_ENCODING_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_ENCODING_MENU))
+#define EPHY_ENCODING_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenuClass))
typedef struct _EphyEncodingMenu EphyEncodingMenu;
typedef struct _EphyEncodingMenuClass EphyEncodingMenuClass;
typedef struct _EphyEncodingMenuPrivate EphyEncodingMenuPrivate;
-/**
- * Editor object
- */
-
-#define EPHY_TYPE_ENCODING_MENU (ephy_encoding_menu_get_type())
-#define EPHY_ENCODING_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenu))
-#define EPHY_ENCODING_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenuClass))
-#define EPHY_IS_ENCODING_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_ENCODING_MENU))
-#define EPHY_IS_ENCODING_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_ENCODING_MENU))
-#define EPHY_ENCODING_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_ENCODING_MENU, EphyEncodingMenuClass))
-
struct _EphyEncodingMenuClass
{
GObjectClass parent_class;
};
-/* Remember: fields are public read-only */
struct _EphyEncodingMenu
{
GObject parent_object;
@@ -51,9 +50,10 @@ struct _EphyEncodingMenu
EphyEncodingMenuPrivate *priv;
};
-GType ephy_encoding_menu_get_type (void);
+GType ephy_encoding_menu_get_type (void);
-EphyEncodingMenu *ephy_encoding_menu_new (EphyWindow *window);
+EphyEncodingMenu *ephy_encoding_menu_new (EphyWindow *window);
-#endif
+G_END_DECLS
+#endif