[epiphany] Some indentation fixes.
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Some indentation fixes.
- Date: Wed, 14 Dec 2011 15:09:05 +0000 (UTC)
commit 1ce161d56a3db3c436e5fbf888472c1f864cebb8
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Dec 14 17:08:40 2011 +0200
Some indentation fixes.
Sorry 'bout that.
embed/ephy-embed.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index d9cc977..3ae0b01 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -512,11 +512,10 @@ frame_enter_notify_cb (GtkWidget *widget,
GdkEventCrossing *event,
gpointer user_data)
{
- if (gtk_widget_get_halign (widget) == GTK_ALIGN_START) {
+ if (gtk_widget_get_halign (widget) == GTK_ALIGN_START)
gtk_widget_set_halign (widget, GTK_ALIGN_END);
- } else {
+ else
gtk_widget_set_halign (widget, GTK_ALIGN_START);
- }
gtk_widget_queue_resize (widget);
@@ -535,11 +534,10 @@ progress_update (EphyWebView *view, GParamSpec *pspec, EphyEmbed *embed)
loading = ephy_web_view_is_loading (EPHY_WEB_VIEW (priv->web_view));
if (progress == 1.0 || !loading)
- {
gtk_widget_hide (priv->progress);
- } else {
+ else
gtk_widget_show (priv->progress);
- }
+
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (priv->progress),
(loading || progress == 1.0) ? progress : 0.0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]