[four-in-a-row] gridframe: fully name all properties



commit 7cdbfa96c99a5620dc0bb8c0a19957fa891a5380
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Jun 21 20:11:12 2014 -0500

    gridframe: fully name all properties

 src/games-gridframe.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/games-gridframe.c b/src/games-gridframe.c
index 186d9a8..aace376 100644
--- a/src/games-gridframe.c
+++ b/src/games-gridframe.c
@@ -15,6 +15,8 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
  */
 
 /* A lot of this was written by following the sorce for GtkFrame and
@@ -217,32 +219,32 @@ games_grid_frame_class_init (GamesGridFrameClass * class)
   g_type_class_add_private (object_class, sizeof (GamesGridFramePrivate));  
 
   g_object_class_install_property (object_class, PROP_X_PADDING,
-                                  g_param_spec_int ("x_padding", NULL, NULL,
+                                  g_param_spec_int ("x_padding", "X Padding", "X Padding",
                                                     0, G_MAXINT, 0,
                                                     G_PARAM_READABLE |
                                                     G_PARAM_WRITABLE));
   g_object_class_install_property (object_class, PROP_Y_PADDING,
-                                   g_param_spec_int ("y_padding", NULL, NULL,
+                                   g_param_spec_int ("y_padding", "Y Padding", "Y Padding",
                                                     0, G_MAXINT, 0,
                                                     G_PARAM_READABLE |
                                                     G_PARAM_WRITABLE));
   g_object_class_install_property (object_class, PROP_WIDTH,
-                                   g_param_spec_int ("width_multiple",  NULL, NULL,
+                                   g_param_spec_int ("width_multiple", "Width Multiple", "Width Multiple",
                                                     1, G_MAXINT, 1,
                                                     G_PARAM_READABLE |
                                                     G_PARAM_WRITABLE));
   g_object_class_install_property (object_class, PROP_HEIGHT,
-                                   g_param_spec_int ("height_multiple", NULL, NULL,
+                                   g_param_spec_int ("height_multiple", "Height Multiple", "Height Multiple",
                                                     1, G_MAXINT, 1,
                                                     G_PARAM_READABLE |
                                                     G_PARAM_WRITABLE));
   g_object_class_install_property (object_class, PROP_X_ALIGN,
-                                   g_param_spec_float ("xalign",  NULL, NULL,
+                                   g_param_spec_float ("xalign", "X Alignment", "X Alignment",
                                                       0.0, 1.0, 0.5,
                                                       G_PARAM_READABLE |
                                                       G_PARAM_WRITABLE));
   g_object_class_install_property (object_class, PROP_Y_ALIGN,
-                                   g_param_spec_float ("yalign",  NULL, NULL,
+                                   g_param_spec_float ("yalign", "Y Alignment", "Y Alignment",
                                                       0.0, 1.0, 0.5,
                                                       G_PARAM_READWRITE |
                                                       G_PARAM_WRITABLE));


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