[Xfce4-commits] <parole:master> Fixed space/tab inconsistency in parole-conf

Sean Davis noreply at xfce.org
Wed Nov 7 11:46:01 CET 2012


Updating branch refs/heads/master
         to a0250181f627f87e1f7bd7bc0738b2722122eb2b (commit)
       from 8fc441dd060712a263536b3ca77f2b82bc86a7df (commit)

commit a0250181f627f87e1f7bd7bc0738b2722122eb2b
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Nov 7 05:45:24 2012 -0500

    Fixed space/tab inconsistency in parole-conf

 src/parole-conf.c |   46 +++++++++++++++++++++++-----------------------
 src/parole-conf.h |   10 +++++-----
 2 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/src/parole-conf.c b/src/parole-conf.c
index 7c2df36..70b849a 100644
--- a/src/parole-conf.c
+++ b/src/parole-conf.c
@@ -116,9 +116,9 @@ G_DEFINE_TYPE (ParoleConf, parole_conf, G_TYPE_OBJECT)
 
 
 static void parole_conf_set_property (GObject *object,
-				      guint prop_id,
-				      const GValue *value,
-				      GParamSpec *pspec)
+                                      guint prop_id,
+                                      const GValue *value,
+                                      GParamSpec *pspec)
 {
     ParoleConf  *conf = PAROLE_CONF (object);
     GValue       dst = { 0, };
@@ -163,9 +163,9 @@ static void parole_conf_set_property (GObject *object,
 }
 
 static void parole_conf_get_property (GObject *object,
-				                      guint prop_id,
-				                      GValue *value,
-				                      GParamSpec *pspec)
+                                      guint prop_id,
+                                      GValue *value,
+                                      GParamSpec *pspec)
 {
     ParoleConf  *conf = PAROLE_CONF (object);
     GValue       src = { 0, };
@@ -252,7 +252,7 @@ transform_string_to_enum (const GValue *src,
     genum_value = g_enum_get_value_by_name (genum_class, g_value_get_string (src));
     
     if (G_UNLIKELY (genum_value == NULL))
-	    genum_value = genum_class->values;
+        genum_value = genum_class->values;
     g_value_set_enum (dst, genum_value->value);
 }
 
@@ -267,19 +267,19 @@ parole_conf_class_init (ParoleConfClass *klass)
     object_class->set_property = parole_conf_set_property;
 
     if (!g_value_type_transformable (G_TYPE_STRING, G_TYPE_INT))
-	g_value_register_transform_func (G_TYPE_STRING, G_TYPE_INT, transform_string_to_int);
+    g_value_register_transform_func (G_TYPE_STRING, G_TYPE_INT, transform_string_to_int);
 
     if (!g_value_type_transformable (G_TYPE_STRING, G_TYPE_BOOLEAN))
-	g_value_register_transform_func (G_TYPE_STRING, G_TYPE_BOOLEAN, transform_string_to_boolean);
+    g_value_register_transform_func (G_TYPE_STRING, G_TYPE_BOOLEAN, transform_string_to_boolean);
     
     if (!g_value_type_transformable (G_TYPE_STRING, GST_ENUM_TYPE_ASPECT_RATIO))
-	g_value_register_transform_func (G_TYPE_STRING, GST_ENUM_TYPE_ASPECT_RATIO, transform_string_to_enum);
-	
-	/**
-	 * ParoleConf:vis-enabled:
-	 *
-	 * If visualizations are enabled.
-	 **/
+    g_value_register_transform_func (G_TYPE_STRING, GST_ENUM_TYPE_ASPECT_RATIO, transform_string_to_enum);
+
+    /**
+     * ParoleConf:vis-enabled:
+     *
+     * If visualizations are enabled.
+     **/
     g_object_class_install_property (object_class,
                                      PROP_VIS_ENABLED,
                                      g_param_spec_boolean ("vis-enabled",
@@ -700,12 +700,12 @@ parole_conf_new (void)
 {
     if ( parole_conf_object != NULL )
     {
-	    g_object_ref (parole_conf_object);
+        g_object_ref (parole_conf_object);
     }
     else
     {
-	    parole_conf_object = g_object_new (PAROLE_TYPE_CONF, NULL);
-	    g_object_add_weak_pointer (parole_conf_object, &parole_conf_object);
+        parole_conf_object = g_object_new (PAROLE_TYPE_CONF, NULL);
+        g_object_add_weak_pointer (parole_conf_object, &parole_conf_object);
     }
 
     return PAROLE_CONF (parole_conf_object);
@@ -714,14 +714,14 @@ parole_conf_new (void)
 
 gboolean
 parole_conf_get_property_bool  (ParoleConf *conf,
-								const gchar *name)
+                                const gchar *name)
 {
     gboolean value;
     
     g_object_get (G_OBJECT (conf),
-		  name, &value,
-		  NULL);
-		  
+                  name, &value,
+                  NULL);
+
     return value;
 }
 
diff --git a/src/parole-conf.h b/src/parole-conf.h
index 5305fd4..fb49bab 100644
--- a/src/parole-conf.h
+++ b/src/parole-conf.h
@@ -35,13 +35,13 @@ typedef struct _ParoleConf      ParoleConf;
 #define PAROLE_IS_CONF_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), PAROLE_TYPE_CONF))
 #define PAROLE_CONF_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), PAROLE_TYPE_CONF, ParoleConfClass))
 
-GType        			 parole_conf_get_type        	(void) G_GNUC_CONST;
+GType                    parole_conf_get_type           (void) G_GNUC_CONST;
 
-ParoleConf       		*parole_conf_new             	(void);
+ParoleConf              *parole_conf_new                (void);
 
-gboolean			     parole_conf_get_property_bool  (ParoleConf *conf,
-								                         const gchar *name);
-								                         
+gboolean                 parole_conf_get_property_bool  (ParoleConf *conf,
+                                                         const gchar *name);
+                     
 void                     parole_conf_xfconf_init_failed (void);
 
 G_END_DECLS;


More information about the Xfce4-commits mailing list