[gimp] app: minor formatting cleanup in gimppropwidgets



commit c0c813d9f17400173a96684c969bad129fb77487
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 10 19:48:32 2013 +0100

    app: minor formatting cleanup in gimppropwidgets

 app/widgets/gimppropwidgets.c |    7 ++++---
 app/widgets/gimppropwidgets.h |   12 ++++++------
 2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/app/widgets/gimppropwidgets.c b/app/widgets/gimppropwidgets.c
index 179e722..c0d8d6a 100644
--- a/app/widgets/gimppropwidgets.c
+++ b/app/widgets/gimppropwidgets.c
@@ -1311,11 +1311,11 @@ gimp_prop_language_entry_notify (GObject    *config,
   g_free (value);
 }
 
+
 /*****************/
 /*  icon picker  */
 /*****************/
 
-
 static void   gimp_prop_icon_picker_callback (GtkWidget  *picker,
                                               GParamSpec *param_spec,
                                               GObject    *config);
@@ -1375,7 +1375,7 @@ gimp_prop_icon_picker_callback (GtkWidget  *picker,
                                    gimp_prop_icon_picker_notify,
                                    picker);
 
-  if (!strcmp (param_spec->name, "stock-id"))
+  if (! strcmp (param_spec->name, "stock-id"))
     {
       const gchar *value = gimp_icon_picker_get_stock_id (GIMP_ICON_PICKER (picker));
 
@@ -1384,7 +1384,7 @@ gimp_prop_icon_picker_callback (GtkWidget  *picker,
                     NULL);
 
     }
-  else if (!strcmp (param_spec->name, "icon-pixbuf"))
+  else if (! strcmp (param_spec->name, "icon-pixbuf"))
     {
       GdkPixbuf *value = gimp_icon_picker_get_icon_pixbuf (GIMP_ICON_PICKER (picker));
 
@@ -1440,6 +1440,7 @@ gimp_prop_icon_picker_notify (GObject    *config,
                                      config);
 }
 
+
 /***********/
 /*  table  */
 /***********/
diff --git a/app/widgets/gimppropwidgets.h b/app/widgets/gimppropwidgets.h
index 2e18e72..d13249d 100644
--- a/app/widgets/gimppropwidgets.h
+++ b/app/widgets/gimppropwidgets.h
@@ -90,13 +90,13 @@ GtkWidget * gimp_prop_number_pair_entry_new
 
 /*  GParamString  */
 
-GtkWidget * gimp_prop_language_combo_box_new (GObject     *config,
-                                              const gchar *property_name);
-GtkWidget * gimp_prop_language_entry_new     (GObject     *config,
-                                              const gchar *property_name);
+GtkWidget * gimp_prop_language_combo_box_new (GObject      *config,
+                                              const gchar  *property_name);
+GtkWidget * gimp_prop_language_entry_new     (GObject      *config,
+                                              const gchar  *property_name);
 
-GtkWidget * gimp_prop_icon_picker_new   (GimpViewable *viewable,
-                                         Gimp         *gimp);
+GtkWidget * gimp_prop_icon_picker_new        (GimpViewable *viewable,
+                                              Gimp         *gimp);
 
 /*  A view on all of an object's properties  */
 


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