aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent0970e4f5a661e2b281431f1f960a508b90e2f61e (diff)
downloadgsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.gz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.zst
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.zip
Random formatting fixes
Too wide comments, some indentation.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-notebook.c9
-rw-r--r--src/ephy-window.c5
2 files changed, 8 insertions, 6 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 401f15609..ee481fa4a 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -309,17 +309,18 @@ button_press_cb (EphyNotebook *notebook,
if (event->type == GDK_BUTTON_PRESS &&
event->button == 3 &&
- (event->state & gtk_accelerator_get_default_mod_mask ()) == 0)
+ (event->state & gtk_accelerator_get_default_mod_mask ()) == 0)
{
if (tab_clicked == -1)
{
- /* consume event, so that we don't pop up the context menu when
- * the mouse if not over a tab label
+ /* Consume event so that we don't pop up the context
+ * menu when the mouse is not over a tab label.
*/
return TRUE;
}
- /* switch to the page the mouse is over, but don't consume the event */
+ /* Switch to the page where the mouse is over, but don't consume the
+ * event. */
gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), tab_clicked);
}
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a68d4eacc..bc42ff3c3 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2323,8 +2323,9 @@ ephy_window_dom_mouse_click_cb (WebKitWebView *view,
{
/* See bug #133633 for why we do it this way */
- /* We need to make sure we know if the embed is destroyed between
- * requesting the clipboard contents, and receiving them.
+ /* We need to make sure we know if the embed is destroyed
+ * between requesting the clipboard contents, and receiving
+ * them.
*/
ClipboardTextCBData *cb_data;
EphyEmbed *embed;