[gedit] Small code style fix



commit d033d4d40d1947b233ef56a16e176f46a318be02
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Sep 5 10:38:09 2015 +0200

    Small code style fix

 gedit/gedit-view-holder.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-view-holder.c b/gedit/gedit-view-holder.c
index 86ddab9..92fba32 100644
--- a/gedit/gedit-view-holder.c
+++ b/gedit/gedit-view-holder.c
@@ -126,16 +126,16 @@ _gedit_view_holder_get_right_margin_pixel_position (GeditViewHolder *container)
 
        right_margin_position = gtk_source_view_get_right_margin_position (GTK_SOURCE_VIEW 
(priv->sourceview));
 
-       gtk_style_context_get(priv->view_context, GTK_STATE_FLAG_NORMAL,
-                             GTK_STYLE_PROPERTY_FONT, &font_desc,
-                             NULL);
+       gtk_style_context_get (priv->view_context, GTK_STATE_FLAG_NORMAL,
+                              GTK_STYLE_PROPERTY_FONT, &font_desc,
+                              NULL);
 
        str = g_strnfill (right_margin_position, '_');
        layout = gtk_widget_create_pango_layout (GTK_WIDGET (priv->sourceview), str);
        g_free (str);
 
        pango_layout_set_font_description (layout, font_desc);
-       pango_font_description_free(font_desc);
+       pango_font_description_free (font_desc);
        pango_layout_get_pixel_size (layout, &width, NULL);
 
        g_object_unref (G_OBJECT (layout));


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