[turbine/implement-interface: 2/4] [template] don't wrap the property function parameters



commit 14f09b00c6aa80709f3c5fdba762203e46212227
Author: Thomas Wood <thomas wood intel com>
Date:   Mon Sep 7 16:35:09 2009 +0100

    [template] don't wrap the property function parameters
    
    We don't measure the width of the class name, so we cannot wrap the
    function parameters in the correct place

 src/turbine/template.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/turbine/template.py b/src/turbine/template.py
index 41e35b8..afad973 100644
--- a/src/turbine/template.py
+++ b/src/turbine/template.py
@@ -116,8 +116,7 @@ struct _%(class_camel)sPrivate
 
 prop_template = """\
 static void
-%(class_lower)s_get_property (GObject *object, guint property_id,
-                              GValue *value, GParamSpec *pspec)
+%(class_lower)s_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
 {
   switch (property_id)
     {
@@ -127,8 +126,7 @@ static void
 }
 
 static void
-%(class_lower)s_set_property (GObject *object, guint property_id,
-                              const GValue *value, GParamSpec *pspec)
+%(class_lower)s_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
 {
   switch (property_id)
     {



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