[five-or-more] gridframe: fully name all properties
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] gridframe: fully name all properties
- Date: Sun, 22 Jun 2014 02:02:01 +0000 (UTC)
commit da2a5bf73bdfb0d533e1cf2cd44b47d8f1edb4e6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Jun 21 20:09:16 2014 -0500
gridframe: fully name all properties
src/games-gridframe.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/games-gridframe.c b/src/games-gridframe.c
index 968047f..aace376 100644
--- a/src/games-gridframe.c
+++ b/src/games-gridframe.c
@@ -219,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]