aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-menu.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-10-11 17:09:22 +0800
committerChristian Persch <chpe@src.gnome.org>2003-10-11 17:09:22 +0800
commit6c4b99d210e3391080ce18502a507dc38869189c (patch)
tree8af86c847ac4472d9646dde842e86ef809818626 /src/ephy-encoding-menu.h
parent44592d8463a27f756746201136a97e2d47dcc4f8 (diff)
downloadgsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar.gz
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar.bz2
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar.lz
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar.xz
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.tar.zst
gsoc2013-epiphany-6c4b99d210e3391080ce18502a507dc38869189c.zip
Encodings menu improvements, part 1: Ported to new gtk ui manager api, and
2003-10-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type), (ephy_encoding_menu_verb_cb), (ephy_encoding_menu_init), (ephy_encoding_menu_set_window), (ephy_encoding_menu_set_property), (ephy_encoding_menu_get_property), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new), (ephy_encoding_menu_rebuild): * src/ephy-encoding-menu.h: Encodings menu improvements, part 1: Ported to new gtk ui manager api, and general code cleanups.
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