Commit 9b7a7824 authored by Christian Persch's avatar Christian Persch

Fix a few compiler warnings

parent e2622c14
......@@ -1218,6 +1218,9 @@ aisleriot_game_get_property (GObject *object,
case PROP_SCORE:
g_value_set_uint (value, game->score);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -200,13 +200,13 @@ save_state_cb (EggSMClient *client,
argv[argc++] = g_get_prgname ();
if (data->freecell) {
argv[argc++] = "--freecell";
argv[argc++] = (char *) "--freecell";
} else {
argv[argc++] = "--variation";
argv[argc++] = (char *) "--variation";
argv[argc++] = (char *) game_name;
}
argv[argc++] = "--seed";
argv[argc++] = (char *) "--seed";
argv[argc++] = seed;
/* FIXMEchpe: save game state too? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment