diff options
author | Xan Lopez <xan@igalia.com> | 2011-12-15 05:02:39 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2011-12-15 05:02:39 +0800 |
commit | 95c05041ab35d2ff4b13b7f86140c6d2665c9582 (patch) | |
tree | 9e934da4d36d30863ad9a1fa36be64782951c33a | |
parent | 29d0621fbce678f035eb4fbe1c03db7cd73a9e2d (diff) | |
download | gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar.gz gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar.bz2 gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar.lz gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar.xz gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.tar.zst gsoc2013-epiphany-95c05041ab35d2ff4b13b7f86140c6d2665c9582.zip |
ephy-link-action: small cleanups
-rw-r--r-- | src/ephy-link-action.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/ephy-link-action.c b/src/ephy-link-action.c index 0447663ac..b4a77a7e5 100644 --- a/src/ephy-link-action.c +++ b/src/ephy-link-action.c @@ -20,27 +20,26 @@ */ #include "config.h" - #include "ephy-link-action.h" -#include "ephy-link.h" #include "ephy-debug.h" #include "ephy-gui.h" +#include "ephy-link.h" #include <gtk/gtk.h> G_DEFINE_TYPE_WITH_CODE (EphyLinkAction, ephy_link_action, GTK_TYPE_ACTION, - G_IMPLEMENT_INTERFACE (EPHY_TYPE_LINK, - NULL)) + G_IMPLEMENT_INTERFACE (EPHY_TYPE_LINK, + NULL)) static gboolean proxy_button_press_event_cb (GtkButton *button, - GdkEventButton *event, - EphyLinkAction *action) + GdkEventButton *event, + EphyLinkAction *action) { if (event->button == 2) { - gtk_button_pressed(button); + gtk_button_pressed (button); } return FALSE; @@ -58,7 +57,7 @@ proxy_button_release_event_cb (GtkButton *button, */ if (event->button == 2) { - gtk_button_released(button); + gtk_button_released (button); } return FALSE; @@ -156,7 +155,7 @@ ephy_link_action_disconnect_proxy (GtkAction *action, GtkWidget *proxy) static void ephy_link_action_init (EphyLinkAction *action) { - /* Empty, needed for G_DEFINE_TYPE macro */ + /* Empty, needed for G_DEFINE_TYPE macro */ } static void @@ -171,18 +170,18 @@ ephy_link_action_class_init (EphyLinkActionClass *class) static void ephy_link_action_group_class_init (EphyLinkActionGroupClass *klass) { - /* Empty, needed for G_DEFINE_TYPE macro */ + /* Empty, needed for G_DEFINE_TYPE macro */ } static void ephy_link_action_group_init (EphyLinkActionGroup *action_group) { - /* Empty, needed for G_DEFINE_TYPE macro */ + /* Empty, needed for G_DEFINE_TYPE macro */ } G_DEFINE_TYPE_WITH_CODE (EphyLinkActionGroup, ephy_link_action_group, GTK_TYPE_ACTION_GROUP, - G_IMPLEMENT_INTERFACE (EPHY_TYPE_LINK, - NULL)) + G_IMPLEMENT_INTERFACE (EPHY_TYPE_LINK, + NULL)) EphyLinkActionGroup * ephy_link_action_group_new (const char * name) |