aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.h
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-06 04:50:06 +0800
committerXan Lopez <xan@gnome.org>2009-06-06 04:50:06 +0800
commitc3c1771fb6776ee3371ef06e5509d7e347880464 (patch)
treefd4d2786898ba60905727f3c336d3978478d2c01 /embed/ephy-embed-single.h
parentecd30f7b95964ec717d5da6873492fab939f2523 (diff)
downloadgsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar.gz
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar.bz2
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar.lz
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar.xz
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.tar.zst
gsoc2013-epiphany-c3c1771fb6776ee3371ef06e5509d7e347880464.zip
Make EphyEmbedSingle a non-interface type.
Diffstat (limited to 'embed/ephy-embed-single.h')
-rw-r--r--embed/ephy-embed-single.h33
1 files changed, 12 insertions, 21 deletions
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h
index cbd253ab3..b2efd0e85 100644
--- a/embed/ephy-embed-single.h
+++ b/embed/ephy-embed-single.h
@@ -37,11 +37,19 @@ G_BEGIN_DECLS
#define EPHY_EMBED_SINGLE_GET_IFACE(i) (G_TYPE_INSTANCE_GET_INTERFACE ((i), EPHY_TYPE_EMBED_SINGLE, EphyEmbedSingleIface))
typedef struct _EphyEmbedSingle EphyEmbedSingle;
-typedef struct _EphyEmbedSingleIface EphyEmbedSingleIface;
+typedef struct _EphyEmbedSingleClass EphyEmbedSingleClass;
+typedef struct _EphyEmbedSinglePrivate EphyEmbedSinglePrivate;
-struct _EphyEmbedSingleIface
+struct _EphyEmbedSingle {
+ GObject parent;
+
+ /*< private >*/
+ EphyEmbedSinglePrivate *priv;
+};
+
+struct _EphyEmbedSingleClass
{
- GTypeInterface base_iface;
+ GObjectClass parent_class;
/* Signals */
@@ -61,28 +69,11 @@ struct _EphyEmbedSingleIface
const char *url,
const char *icon_url,
const char *title);
-
- /* Methods */
-
- gboolean (* init) (EphyEmbedSingle *single);
- GtkWidget * (* open_window) (EphyEmbedSingle *single,
- EphyEmbed *parent,
- const char *address,
- const char *name,
- const char *features);
- void (* clear_cache) (EphyEmbedSingle *shell);
- void (* clear_auth_cache) (EphyEmbedSingle *shell);
- void (* set_network_status)(EphyEmbedSingle *shell,
- gboolean offline);
- gboolean (* get_network_status)(EphyEmbedSingle *single);
- GList * (* get_font_list) (EphyEmbedSingle *shell,
- const char *langGroup);
- const char * (* get_backend_name) (EphyEmbedSingle *shell);
};
GType ephy_embed_single_get_type (void);
-gboolean ephy_embed_single_init (EphyEmbedSingle *single);
+gboolean ephy_embed_single_initialize (EphyEmbedSingle *single);
GtkWidget *ephy_embed_single_open_window (EphyEmbedSingle *single,
EphyEmbed *parent,