aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-17 20:03:25 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-17 20:03:25 +0800
commit33d18744189f4ee0c8048d616f055998c7c18c8a (patch)
tree8c89997865d09b692400c59a540c1314e943d31e /src
parent1a0ac68966012e2cd8df28cb31b3f6c98bb5dc26 (diff)
downloadgsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar.gz
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar.bz2
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar.lz
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar.xz
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.tar.zst
gsoc2013-epiphany-33d18744189f4ee0c8048d616f055998c7c18c8a.zip
s/EphyExtensionClass/EphyExtensionIface/g
2004-02-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_iface_init): * src/ephy-session.c: (ephy_session_iface_init): s/EphyExtensionClass/EphyExtensionIface/g
Diffstat (limited to 'src')
-rw-r--r--src/ephy-extension.c10
-rw-r--r--src/ephy-extension.h10
-rw-r--r--src/ephy-extensions-manager.c4
-rw-r--r--src/ephy-session.c4
4 files changed, 14 insertions, 14 deletions
diff --git a/src/ephy-extension.c b/src/ephy-extension.c
index a4022b67d..1caf581b7 100644
--- a/src/ephy-extension.c
+++ b/src/ephy-extension.c
@@ -30,7 +30,7 @@ ephy_extension_get_type (void)
{
static const GTypeInfo our_info =
{
- sizeof (EphyExtensionClass),
+ sizeof (EphyExtensionIface),
NULL,
NULL,
};
@@ -47,14 +47,14 @@ void
ephy_extension_attach_window (EphyExtension *extension,
EphyWindow *window)
{
- EphyExtensionClass *class = EPHY_EXTENSION_GET_CLASS (extension);
- class->attach_window (extension, window);
+ EphyExtensionIface *iface = EPHY_EXTENSION_GET_IFACE (extension);
+ iface->attach_window (extension, window);
}
void
ephy_extension_detach_window (EphyExtension *extension,
EphyWindow *window)
{
- EphyExtensionClass *class = EPHY_EXTENSION_GET_CLASS (extension);
- class->detach_window (extension, window);
+ EphyExtensionIface *iface = EPHY_EXTENSION_GET_IFACE (extension);
+ iface->detach_window (extension, window);
}
diff --git a/src/ephy-extension.h b/src/ephy-extension.h
index f8d6c0d28..06d48e06f 100644
--- a/src/ephy-extension.h
+++ b/src/ephy-extension.h
@@ -30,15 +30,15 @@ G_BEGIN_DECLS
#define EPHY_TYPE_EXTENSION (ephy_extension_get_type ())
#define EPHY_EXTENSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_EXTENSION, EphyExtension))
-#define EPHY_EXTENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_EXTENSION, EphyExtensionClass))
+#define EPHY_EXTENSION_IFACE(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_EXTENSION, EphyExtensionIface))
#define EPHY_IS_EXTENSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_EXTENSION))
-#define EPHY_IS_EXTENSION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), EPHY_TYPE_EXTENSION))
-#define EPHY_EXTENSION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EPHY_TYPE_EXTENSION, EphyExtensionClass))
+#define EPHY_IS_EXTENSION_IFACE(class) (G_TYPE_CHECK_CLASS_TYPE ((class), EPHY_TYPE_EXTENSION))
+#define EPHY_EXTENSION_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EPHY_TYPE_EXTENSION, EphyExtensionIface))
typedef struct _EphyExtension EphyExtension;
-typedef struct _EphyExtensionClass EphyExtensionClass;
+typedef struct _EphyExtensionIface EphyExtensionIface;
-struct _EphyExtensionClass
+struct _EphyExtensionIface
{
GTypeInterface base_iface;
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 9dc4d6842..f8e283e09 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -42,7 +42,7 @@ struct EphyExtensionsManagerPrivate
static GObjectClass *parent_class = NULL;
static void ephy_extensions_manager_class_init (EphyExtensionsManagerClass *klass);
-static void ephy_extensions_manager_iface_init (EphyExtensionClass *iface);
+static void ephy_extensions_manager_iface_init (EphyExtensionIface *iface);
static void ephy_extensions_manager_init (EphyExtensionsManager *manager);
GType
@@ -233,7 +233,7 @@ impl_detach_window (EphyExtension *extension,
}
static void
-ephy_extensions_manager_iface_init (EphyExtensionClass *iface)
+ephy_extensions_manager_iface_init (EphyExtensionIface *iface)
{
iface->attach_window = impl_attach_window;
iface->detach_window = impl_detach_window;
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 96aa5919a..cd318d264 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -61,7 +61,7 @@ struct EphySessionPrivate
#define SESSION_CRASHED "type:session_crashed"
static void ephy_session_class_init (EphySessionClass *klass);
-static void ephy_session_iface_init (EphyExtensionClass *iface);
+static void ephy_session_iface_init (EphyExtensionIface *iface);
static void ephy_session_init (EphySession *session);
static GObjectClass *parent_class = NULL;
@@ -265,7 +265,7 @@ ephy_session_finalize (GObject *object)
}
static void
-ephy_session_iface_init (EphyExtensionClass *iface)
+ephy_session_iface_init (EphyExtensionIface *iface)
{
iface->attach_window = impl_attach_window;
iface->detach_window = impl_detach_window;