aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-02-16 14:10:06 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-02-17 02:14:39 +0800
commit4f5d35180aa54b87e4bd9298a6e80eba0967ba59 (patch)
treea01ddda8a11256dc064856b280077ce3a1f30567 /embed
parent0970e4f5a661e2b281431f1f960a508b90e2f61e (diff)
downloadgsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.gz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.bz2
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.lz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.xz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.zst
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.zip
Random formatting fixes
Too wide comments, some indentation.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index bc321549b..4de5938a1 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -503,31 +503,31 @@ ephy_web_view_file_monitor_cancel (EphyWebView *view)
static gboolean
ephy_web_view_key_press_event (GtkWidget *widget, GdkEventKey *event)
{
- EphyWebView *web_view = EPHY_WEB_VIEW (widget);
- gboolean key_handled = FALSE;
+ EphyWebView *web_view = EPHY_WEB_VIEW (widget);
+ gboolean key_handled = FALSE;
- key_handled = GTK_WIDGET_CLASS (ephy_web_view_parent_class)->key_press_event (widget, event);
+ key_handled = GTK_WIDGET_CLASS (ephy_web_view_parent_class)->key_press_event (widget, event);
- if (key_handled)
- return TRUE;
+ if (key_handled)
+ return TRUE;
- g_signal_emit_by_name (web_view, "search-key-press", event, &key_handled);
+ g_signal_emit_by_name (web_view, "search-key-press", event, &key_handled);
- return key_handled;
+ return key_handled;
}
static gboolean
ephy_web_view_button_press_event (GtkWidget *widget, GdkEventButton *event)
{
- /* We always show the browser context menu on control-rightclick */
- if (event->button == 3 && event->state & GDK_CONTROL_MASK)
- return FALSE;
+ /* We always show the browser context menu on control-rightclick */
+ if (event->button == 3 && event->state & GDK_CONTROL_MASK)
+ return FALSE;
- /* We use this for downloading */
- if (event->button == 1 && event->state & GDK_SHIFT_MASK)
- return FALSE;
+ /* We use this for downloading */
+ if (event->button == 1 && event->state & GDK_SHIFT_MASK)
+ return FALSE;
- return GTK_WIDGET_CLASS (ephy_web_view_parent_class)->button_press_event (widget, event);
+ return GTK_WIDGET_CLASS (ephy_web_view_parent_class)->button_press_event (widget, event);
}
static void