diff options
author | Xan Lopez <xan@igalia.com> | 2012-10-03 03:09:43 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-10-03 05:20:42 +0800 |
commit | bbf60892b4392af2dac4ec533932a8f40c26fe8d (patch) | |
tree | 728481bd7b98e62935b78a9819f81ed375564f27 /embed/ephy-adblock-manager.h | |
parent | 1ceb8519aca45aa866e9c40d47a58f93f8b59ca3 (diff) | |
download | gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar.gz gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar.bz2 gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar.lz gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar.xz gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.tar.zst gsoc2013-epiphany-bbf60892b4392af2dac4ec533932a8f40c26fe8d.zip |
ephy-adblock-manager: use new coding style
https://bugzilla.gnome.org/show_bug.cgi?id=681657
Diffstat (limited to 'embed/ephy-adblock-manager.h')
-rw-r--r-- | embed/ephy-adblock-manager.h | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/embed/ephy-adblock-manager.h b/embed/ephy-adblock-manager.h index cb18ca754..08c120682 100644 --- a/embed/ephy-adblock-manager.h +++ b/embed/ephy-adblock-manager.h @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * Copyright © 2003 Marco Pesenti Gritti * Copyright © 2003 Christian Persch @@ -44,34 +45,30 @@ typedef struct _EphyAdBlockManagerClass EphyAdBlockManagerClass; typedef struct _EphyAdBlockManagerPrivate EphyAdBlockManagerPrivate; struct _EphyAdBlockManager { - GObject parent; + GObject parent; - /* < private > */ - EphyAdBlockManagerPrivate *priv; + /* < private > */ + EphyAdBlockManagerPrivate *priv; }; struct _EphyAdBlockManagerClass { - GObjectClass parent_class; + GObjectClass parent_class; - /* Signals */ - void (* rules_changed) (EphyAdBlockManager *manager); + /* Signals */ + void (* rules_changed) (EphyAdBlockManager *manager); }; -GType ephy_adblock_manager_get_type (void); - -gboolean ephy_adblock_manager_should_load (EphyAdBlockManager *self, - EphyEmbed *embed, - const char *url, - AdUriCheckType check_type); - -void ephy_adblock_manager_set_blocker (EphyAdBlockManager *self, - EphyAdBlock *blocker); - -void ephy_adblock_manager_edit_rule (EphyAdBlockManager *self, - const char *url, - gboolean allowed); - -gboolean ephy_adblock_manager_has_blocker (EphyAdBlockManager *self); +GType ephy_adblock_manager_get_type (void); +gboolean ephy_adblock_manager_should_load (EphyAdBlockManager *self, + EphyEmbed *embed, + const char *url, + AdUriCheckType check_type); +void ephy_adblock_manager_set_blocker (EphyAdBlockManager *self, + EphyAdBlock *blocker); +void ephy_adblock_manager_edit_rule (EphyAdBlockManager *self, + const char *url, + gboolean allowed); +gboolean ephy_adblock_manager_has_blocker (EphyAdBlockManager *self); G_END_DECLS |