gnome-games r8171 - trunk/aisleriot
- From: jclinton svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8171 - trunk/aisleriot
- Date: Tue, 21 Oct 2008 19:48:09 +0000 (UTC)
Author: jclinton
Date: Tue Oct 21 19:48:09 2008
New Revision: 8171
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8171&view=rev
Log:
Fix the range and property numbers for the highlight and revealed-card
properties of AisleriotSlotRenderer.
Modified:
trunk/aisleriot/slot-renderer.c
Modified: trunk/aisleriot/slot-renderer.c
==============================================================================
--- trunk/aisleriot/slot-renderer.c (original)
+++ trunk/aisleriot/slot-renderer.c Tue Oct 21 19:48:09 2008
@@ -127,24 +127,22 @@
g_object_class_install_property (gobject_class, PROP_SLOT, pspec);
pspec = g_param_spec_int ("highlight", NULL, NULL,
- 0, G_MAXINT, 0,
+ -1, G_MAXINT, -1,
G_PARAM_WRITABLE |
G_PARAM_READABLE |
- G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME |
G_PARAM_STATIC_NICK |
G_PARAM_STATIC_BLURB);
g_object_class_install_property (gobject_class, PROP_HIGHLIGHT, pspec);
pspec = g_param_spec_int ("revealed-card", NULL, NULL,
- 0, G_MAXINT, 0,
+ -1, G_MAXINT, 0,
G_PARAM_WRITABLE |
G_PARAM_READABLE |
- G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME |
G_PARAM_STATIC_NICK |
G_PARAM_STATIC_BLURB);
- g_object_class_install_property (gobject_class, PROP_HIGHLIGHT, pspec);
+ g_object_class_install_property (gobject_class, PROP_REVEALED_CARD, pspec);
pspec = g_param_spec_object ("animation-layer", NULL, NULL,
CLUTTER_TYPE_CONTAINER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]