[gtk+] cell area: Use GTK_PARAM_READWRITE consistently



commit 7dded559c0170ff89e1453de11e3c2a86a1d4665
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 17 23:25:07 2017 -0500

    cell area: Use GTK_PARAM_READWRITE consistently

 gtk/gtkcellarea.c |   33 +++++++++++++++------------------
 1 files changed, 15 insertions(+), 18 deletions(-)
---
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index eac09d8..f1b4224 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -785,12 +785,11 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_FOCUS_CELL,
-                                   g_param_spec_object
-                                   ("focus-cell",
-                                    P_("Focus Cell"),
-                                    P_("The cell which currently has focus"),
-                                    GTK_TYPE_CELL_RENDERER,
-                                    GTK_PARAM_READWRITE));
+                                   g_param_spec_object ("focus-cell",
+                                                        P_("Focus Cell"),
+                                                        P_("The cell which currently has focus"),
+                                                        GTK_TYPE_CELL_RENDERER,
+                                                        GTK_PARAM_READWRITE));
 
   /**
    * GtkCellArea:edited-cell:
@@ -804,12 +803,11 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_EDITED_CELL,
-                                   g_param_spec_object
-                                   ("edited-cell",
-                                    P_("Edited Cell"),
-                                    P_("The cell which is currently being edited"),
-                                    GTK_TYPE_CELL_RENDERER,
-                                    G_PARAM_READABLE));
+                                   g_param_spec_object ("edited-cell",
+                                                        P_("Edited Cell"),
+                                                        P_("The cell which is currently being edited"),
+                                                        GTK_TYPE_CELL_RENDERER,
+                                                        GTK_PARAM_READABLE));
 
   /**
    * GtkCellArea:edit-widget:
@@ -823,12 +821,11 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_EDIT_WIDGET,
-                                   g_param_spec_object
-                                   ("edit-widget",
-                                    P_("Edit Widget"),
-                                    P_("The widget currently editing the edited cell"),
-                                    GTK_TYPE_CELL_EDITABLE,
-                                    G_PARAM_READABLE));
+                                   g_param_spec_object ("edit-widget",
+                                                        P_("Edit Widget"),
+                                                        P_("The widget currently editing the edited cell"),
+                                                        GTK_TYPE_CELL_EDITABLE,
+                                                        GTK_PARAM_READABLE));
 
   /* Pool for Cell Properties */
   if (!cell_property_pool)


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