[epiphany] ephy-link-action: small cleanups



commit 95c05041ab35d2ff4b13b7f86140c6d2665c9582
Author: Xan Lopez <xan igalia com>
Date:   Wed Dec 14 22:02:39 2011 +0100

    ephy-link-action: small cleanups

 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 0447663..b4a77a7 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]