aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index c9da4cd32..20e6a4f5d 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -25,7 +25,7 @@
#include "ephy-embed-single.h"
#include "ephy-marshal.h"
-static void ephy_embed_single_class_init (gpointer g_class);
+static void ephy_embed_single_iface_init (gpointer g_class);
GType
ephy_embed_single_get_type (void)
@@ -36,8 +36,8 @@ ephy_embed_single_get_type (void)
{
static const GTypeInfo our_info =
{
- sizeof (EphyEmbedSingleClass),
- ephy_embed_single_class_init,
+ sizeof (EphyEmbedSingleIFace),
+ ephy_embed_single_iface_init,
NULL,
};
@@ -51,7 +51,7 @@ ephy_embed_single_get_type (void)
}
static void
-ephy_embed_single_class_init (gpointer g_class)
+ephy_embed_single_iface_init (gpointer g_class)
{
static gboolean initialised = FALSE;
@@ -71,7 +71,7 @@ ephy_embed_single_class_init (gpointer g_class)
g_signal_new ("handle_content",
EPHY_TYPE_EMBED_SINGLE,
G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (EphyEmbedSingleClass, handle_content),
+ G_STRUCT_OFFSET (EphyEmbedSingleIFace, handle_content),
g_signal_accumulator_true_handled, NULL,
ephy_marshal_BOOLEAN__STRING_STRING,
G_TYPE_BOOLEAN,
@@ -92,8 +92,8 @@ ephy_embed_single_class_init (gpointer g_class)
void
ephy_embed_single_clear_cache (EphyEmbedSingle *single)
{
- EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single);
- klass->clear_cache (single);
+ EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ iface->clear_cache (single);
}
/**
@@ -105,8 +105,8 @@ ephy_embed_single_clear_cache (EphyEmbedSingle *single)
void
ephy_embed_single_clear_auth_cache (EphyEmbedSingle *single)
{
- EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single);
- klass->clear_auth_cache (single);
+ EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ iface->clear_auth_cache (single);
}
/**
@@ -120,8 +120,8 @@ void
ephy_embed_single_set_offline_mode (EphyEmbedSingle *single,
gboolean offline)
{
- EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single);
- klass->set_offline_mode (single, offline);
+ EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ iface->set_offline_mode (single, offline);
}
/**
@@ -135,8 +135,8 @@ void
ephy_embed_single_load_proxy_autoconf (EphyEmbedSingle *single,
const char* address)
{
- EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single);
- klass->load_proxy_autoconf (single, address);
+ EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ iface->load_proxy_autoconf (single, address);
}
/**
@@ -153,6 +153,6 @@ GList *
ephy_embed_single_get_font_list (EphyEmbedSingle *single,
const char *langGroup)
{
- EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single);
- return klass->get_font_list (single, langGroup);
+ EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ return iface->get_font_list (single, langGroup);
}