diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-06 07:11:06 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-06 07:11:06 +0800 |
commit | 7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f (patch) | |
tree | 0a5b76de7cd8ea023ea60b18a52428e83621094c /embed/ephy-embed-shell.h | |
parent | 72422dbaef675fa8a016ce7c5b4b801e7d478c23 (diff) | |
download | gsoc2013-epiphany-7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f.tar.gz gsoc2013-epiphany-7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f.tar.zst gsoc2013-epiphany-7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f.zip |
Misc cleanups. Remove a duplicated signal from EphyEmbed.
2003-12-06 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed-shell.c: (ephy_embed_shell_get_type),
(ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache),
(ephy_embed_shell_get_global_history),
(ephy_embed_shell_get_downloader_view), (load_mime_from_xml),
(ephy_embed_shell_init), (ephy_embed_shell_class_init):
* embed/ephy-embed-shell.h:
* embed/ephy-embed.c: (ephy_embed_base_init):
* embed/ephy-embed.h:
* src/ephy-tab.c: (ephy_tab_init):
Misc cleanups. Remove a duplicated signal from EphyEmbed.
Diffstat (limited to 'embed/ephy-embed-shell.h')
-rw-r--r-- | embed/ephy-embed-shell.h | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h index faac44746..3bff4327b 100644 --- a/embed/ephy-embed-shell.h +++ b/embed/ephy-embed-shell.h @@ -38,17 +38,17 @@ G_BEGIN_DECLS #define EPHY_IS_EMBED_SHELL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_SHELL)) #define EPHY_EMBED_SHELL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_EMBED_SHELL, EphyEmbedShellClass)) -typedef struct EphyEmbedShellClass EphyEmbedShellClass; -typedef struct EphyEmbedShell EphyEmbedShell; -typedef struct EphyEmbedShellPrivate EphyEmbedShellPrivate; +typedef struct EphyEmbedShellClass EphyEmbedShellClass; +typedef struct EphyEmbedShell EphyEmbedShell; +typedef struct EphyEmbedShellPrivate EphyEmbedShellPrivate; extern EphyEmbedShell *embed_shell; typedef enum { - EPHY_MIME_PERMISSION_SAFE = 1, - EPHY_MIME_PERMISSION_UNSAFE = 2, - EPHY_MIME_PERMISSION_UNKNOWN = 3 + EPHY_MIME_PERMISSION_SAFE = 1, + EPHY_MIME_PERMISSION_UNSAFE = 2, + EPHY_MIME_PERMISSION_UNKNOWN = 3 } EphyMimePermission; struct EphyEmbedShell @@ -61,31 +61,27 @@ struct EphyEmbedShell struct EphyEmbedShellClass { - GObjectClass parent_class; + GObjectClass parent_class; /* Methods */ - EphyHistory * (* get_global_history) (EphyEmbedShell *shell); - GObject * (* get_downloader_view) (EphyEmbedShell *shell); + EphyHistory * (* get_global_history) (EphyEmbedShell *shell); + GObject * (* get_downloader_view) (EphyEmbedShell *shell); }; -GType ephy_embed_shell_get_type (void); +GType ephy_embed_shell_get_type (void); -GType ephy_embed_shell_get_impl (void); +GObject *ephy_embed_shell_get_favicon_cache (EphyEmbedShell *ges); -EphyEmbedShell *ephy_embed_shell_new (const char *type); +EphyHistory *ephy_embed_shell_get_global_history (EphyEmbedShell *shell); -GObject *ephy_embed_shell_get_favicon_cache (EphyEmbedShell *ges); +GObject *ephy_embed_shell_get_downloader_view (EphyEmbedShell *shell); -EphyHistory *ephy_embed_shell_get_global_history (EphyEmbedShell *shell); +GObject *ephy_embed_shell_get_encodings (EphyEmbedShell *shell); -GObject *ephy_embed_shell_get_downloader_view (EphyEmbedShell *shell); +EphyEmbedSingle *ephy_embed_shell_get_embed_single (EphyEmbedShell *shell); -GObject *ephy_embed_shell_get_encodings (EphyEmbedShell *shell); - -EphyEmbedSingle *ephy_embed_shell_get_embed_single (EphyEmbedShell *shell); - -EphyMimePermission ephy_embed_shell_check_mime (EphyEmbedShell *shell, - const char *mime_type); +EphyMimePermission ephy_embed_shell_check_mime (EphyEmbedShell *shell, + const char *mime_type); G_END_DECLS |