[gnome-shell/wip/clutter-deprecation-fixes: 1/27] st: Fix formatting



commit b9b551dc9469dadbc5c6b69f869ff09d93498b5e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 13 16:29:07 2012 -0500

    st: Fix formatting

 src/st/st-icon.c   |    2 +-
 src/st/st-table.c  |    4 +---
 src/st/st-widget.c |    7 ++++---
 3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/st/st-icon.c b/src/st/st-icon.c
index d6a32f9..f20c8e8 100644
--- a/src/st/st-icon.c
+++ b/src/st/st-icon.c
@@ -488,7 +488,7 @@ st_icon_update (StIcon *icon)
                                                            priv->gicon,
                                                            priv->icon_size);
     }
- else if (priv->icon_name)
+  else if (priv->icon_name)
     {
       priv->pending_texture = st_texture_cache_load_icon_name (cache,
                                                                theme_node,
diff --git a/src/st/st-table.c b/src/st/st-table.c
index 7d1e100..a44f21f 100644
--- a/src/st/st-table.c
+++ b/src/st/st-table.c
@@ -720,9 +720,7 @@ st_table_allocate (ClutterActor          *self,
   CLUTTER_ACTOR_CLASS (st_table_parent_class)->allocate (self, box, flags);
 
   if (priv->n_cols < 1 || priv->n_rows < 1)
-    {
-      return;
-    };
+    return;
 
   st_theme_node_get_content_box (theme_node, box, &content_box);
 
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index c2f7125..319fd34 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -530,7 +530,7 @@ st_widget_style_changed (StWidget *widget)
 
 static void
 on_theme_context_changed (StThemeContext *context,
-                          ClutterStage      *stage)
+                          ClutterStage   *stage)
 {
   notify_children_of_style_change (CLUTTER_CONTAINER (stage));
 }
@@ -753,7 +753,8 @@ st_widget_hide (ClutterActor *actor)
 }
 
 static gboolean
-st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
+st_widget_get_paint_volume (ClutterActor *self,
+                            ClutterPaintVolume *volume)
 {
   ClutterActorBox paint_box, alloc_box;
   StThemeNode *theme_node;
@@ -764,7 +765,7 @@ st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
   if (!clutter_actor_has_allocation (self))
     return FALSE;
 
-  priv = ST_WIDGET(self)->priv;
+  priv = ST_WIDGET (self)->priv;
 
   theme_node = st_widget_get_theme_node (ST_WIDGET(self));
   clutter_actor_get_allocation_box (self, &alloc_box);



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